Need Help with my Cron Jobs!

kyberworld16

New Member
Messages
1
Reaction score
0
Points
0
Good day.

Please advice. How do I configure and run these five tasks.? always are deleted after some time. I'm clueless.:frown:

My problem:

0 0 1 * * /usr/bin/curl --silent http://kyberptc.pcriot.com/cron3.php?pwd=mypass 2 > /dev/null

15 0 * * * /usr/bin/curl --silent http://kyberptc.pcriot.com/cron.php?pwd=mypass 2 > /dev/null

0 0 * * 6 /usr/bin/curl --silent http://kyberptc.pcriot.com/cron2.php?pwd=mypass 2 > /dev/null

5 0 */2 * * /usr/bin/curl --silent http://kyberptc.pcriot.com/pemailcron.php?pwd=mypass 2 > /dev/null
*/10 * * * * /usr/bin/curl --silent http://kyberptc.pcriot.com/pemailcron2.php?pwd=mypass 2 > /dev/null
*/5 * * * * /usr/bin/curl --silent http://kyberptc.pcriot.com/cron-ad-alert.php?pwd=mypass 2 > /dev/null



------------------
Thank you all for help!
 

Anna

I am just me
Staff member
Messages
11,750
Reaction score
581
Points
113
The only reason they'd be deleted would be if they run closer then 5 minutes of each others.

Note that if you have two crons there must still be at least five minutes in between them;
cron 1 run: 5, 15, 25, 35 etc - cron 2 run: 0, 10, 20, 30 etc <- would work, as they alternate every 5 minutes.

cron 1 run: 5, 15, 25, 35 etc - cron 2 run: 7, 17, 27, 37 etc <- would NOT work, as cron 2 would attempt running only 2 minutes after cron 1 was run.

For instance:
At the moment you have some clashes where they do run at the same time, the last two one every 5 minute and the other at every 10 minute would run at the same time on the 5 minute one running its second course, both get dropped.

Same goes for any that periodically does run at the same time during their continued course of running.
 
Top