View Full Version : Cron Jobs

04-02-2010, 01:22 AM
Let's say I start a cron job to go every 1 month...

Let's also say that I do this at April 14....
Would this cron job go every month starting from when it was executed.. so the next execution date would be: May 14, then June 14, July 14, etc.


Would the next execution date be: May 1, June 1, July 1, etc...


04-02-2010, 01:39 AM
Why is this in Apache?

If you wanted a cronjob to run once a month, it can run either on the 1st of each month, or once per month on the date starting with today, tomorrow, etc. It's in how you configure the crontab entry.

In other words, an entry that reads "once per month" is not the same as one that reads "once per month on the 1st". I wrote an article on cron a long time ago, if you Google "cron" you'll probably find it.

04-02-2010, 01:45 AM
Sorry I did not know where else to put it.