CronJob not running

WTF?! My cronjob doesn’t run?! Here’s a checklist guide to debug not running cronjobs: Is the Cron daemon running? Run ps ax | grep cron and look for cron. Debian: service cron start or service cron restart Is cron working? * * * * * /bin/echo “cron works” >> /tmp/file Syntax correct? See below. You … Read more

How to create cron job using PHP?

This is the best explanation with code in PHP I have found so far: http://code.tutsplus.com/tutorials/managing-cron-jobs-with-php–net-19428 In short: Although the syntax of scheduling a new job may seem daunting at first glance, it’s actually relatively simple to understand once you break it down. A cron job will always have five columns each of which represent a … Read more