Add check_cron to task_schedule to rotate logs