add cron to task