small fix to cron jobs