Ross Clutterbuck wrote:
I did think the big bit was going to be dealing with different month
lengths and to be honest I'll probably fudge the numbers and round
down start dates to the 28th avoiding this problem entirely.
I'll go have a look for some cron stuff then unless anybody knows any
good cron resources.
Cron is simple.
"crontab -e" to edit your crontab.
Then, add the job you want; man crontab will tell you the format, but
it's minute, hour, day of month, month, day of week, then the command.
So,
0 * * * * /path/to/my/script
...would run your script every hour.
*/5 * * * * /path/to/my/script
... would run your script every five minutes;
0 8 * * * /path/to/my/script
... would run your script at 8am, every day.
Cheers
Dave P
____ The WDVL Discussion List from WDVL.COM ____
To Join wdvltalk, Send An Email To:
mailto:[email protected] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to
leave-50556648-230552.f22dcf5120bad5a91a87f69f1e923...@lists.wdvl.com
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.