You can detect if the cron is running using DOING_CRON:
if ( defined( 'DOING_CRON' ) and DOING_CRON ) { // ... code to be run when a cron is in progress ... }
This way you can set certain filters/hooks only during a CRON and is_admin(), for instance.