Gossamer Forum
Quote Reply
cron jobs
i followed the instuction on this page and it worked

http://goodstuff.orphanage.com/cron_instr.html

if i want a cron job for GM to run every 15 minutes everyday every hour how would i change mycron.txt
Quote Reply
Re: [theguy] cron jobs In reply to
0,15,30,45 * * * * /path/to/file

I think.
Quote Reply
Re: [PaulW] cron jobs In reply to
or */15 * * * * <command>


Adrian
Quote Reply
Re: [brewt] cron jobs In reply to

Quote Reply
Re: [PaulW] cron jobs In reply to
In Reply To:
0,15,30,45 * * * * /path/to/file

I think.

And you should of written that correctly like this:

Code:
00,15,30,45 * * * * /path/to/file

Please note the 00 (double digit) which is required if * or / is not present.
Quote Reply
Re: [Wil] cron jobs In reply to
Quote:
Please note the 00 (double digit) which is required if * or / is not present.
ummm... I don't really think the double digits IS required (well linux crontab).


Adrian
Quote Reply
Re: [brewt] cron jobs In reply to
Hm. I've had problems before on some servers, and when I have questioned the sysadmin he or she has explicitly stated to me (in more than one case) that "One of the most common reasons a cron won't run on our servers is that the first numeric entry does not have two decimal places.".

- wil
Quote Reply
Re: [Wil] cron jobs In reply to
>>
One of the most common reasons a cron won't run on our servers is that the first numeric entry does not have two decimal places
<<

They must have a weird setup because the double 00 hasn't been required on all the servers Ive created cronjobs on :) - about 10
Quote Reply
Re: [PaulW] cron jobs In reply to
Therefore if it required on some system setups and not on others, surely it would be good practice to include it for compatibility's sake.

- wil