There are fields on my server's control panel like this
Minute - Hour - Day of month - Month - Day of the week - Command
How can i create a cron job runs on first day of the month with this fields ?
Thanks
|
There are fields on my server's control panel like this Minute - Hour - Day of month - Month - Day of the week - Command How can i create a cron job runs on first day of the month with this fields ? Thanks
| |||||||||
feedback
|
This question came from our site for professional and enthusiast programmers.
|
This will run the command foo at 12:00AM on the first of every month
This article describes the various fields, look to the bottom of the page: http://en.wikipedia.org/wiki/Cron To add this to your cron file, just use the command
| |||||||||||
feedback
|
|
Will run /usr/bin/foo at 12:10am on the first day of the month.
Will run /usr/bin/foo at 3:10am on every day.
See http://www.scrounge.org/linux/cron.html updated the crons, it was a copy paste error, thanks Joy Dutta! | |||||||
feedback
|
|
Something like:
| |||||||
feedback
|
|
Check for a directory on your server at | |||
|
feedback
|
|
Check this out: Class: PHP Cron | |||
|
feedback
|