+ Reply to Thread
Results 1 to 2 of 2

Thread: Need Help with my Cron Jobs!

  1. #1
    kyberworld16 is offline x10Hosting Member kyberworld16 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    1

    Need Help with my Cron Jobs!

    Good day.

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

    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!

  2. #2
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: Need Help with my Cron Jobs!

    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.
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

+ Reply to Thread

Similar Threads

  1. Cron Jobs
    By jte200875 in forum Free Hosting
    Replies: 1
    Last Post: 01-11-2011, 01:58 PM
  2. Cron Jobs
    By rizla in forum Free Hosting
    Replies: 2
    Last Post: 01-04-2011, 05:59 PM
  3. Cron Jobs
    By a3whizzkid84 in forum Free Hosting
    Replies: 1
    Last Post: 08-30-2010, 04:53 PM
  4. Cron Jobs
    By gameserv15 in forum Free Hosting
    Replies: 1
    Last Post: 06-26-2010, 03:14 AM
  5. cron jobs
    By jinx001 in forum Free Hosting
    Replies: 4
    Last Post: 12-05-2007, 09:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers