fixing cron job definition