Moved the cronjob call to the cron.php