Fixed cron job execution from code