Cron Again

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by mumbhaki, May 1, 2008.

Thread Status:
Not open for further replies.
  1. mumbhaki

    mumbhaki New Member

    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    What is the allowed minimum interval for cron? I tried to run a php script every 1 min but it doenst work.
    Code:
    1 * * * * php -q /home/myuser/some.php
     
  2. LHVWB

    LHVWB New Member

    Messages:
    1,308
    Likes Received:
    0
    Trophy Points:
    0
    If you are using the basci cron job editor, then did you set the days, months, and etc?

    You should be able to have crons every minute.
     
    Last edited: May 1, 2008
  3. mumbhaki

    mumbhaki New Member

    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    i'm actually choosing between these commands, so far no luck,

    php -f script > didnt run
    php -q script > run but reverted back to basic php, im using advanced,
    php script > no result yet
    php-cron -f script > no result yet
    php-cron -q script > no result yet
    php-cron script > no result yet
     
  4. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    163
    Trophy Points:
    63
    ummm. no. you cant let crons run every minute. Its against X10 comandments.... It causes extreme server lag and crashes....
     
  5. coffeeor

    coffeeor New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I was actually searching for the same thing to not be violating any policies, and found out that it is every 5 minutes per cron job per user. If you are running two crons at a time, it is every ten minutes, etc. Source: www.x10hosting.com/wiki/Cron_job.
     
  6. bdistler

    bdistler Well-Known Member Prime Account

    Messages:
    3,534
    Likes Received:
    195
    Trophy Points:
    63
    x10hosting's free-hosting "Terms of Service" (TOS) - which you have a link for in your sig
    says:
    what it does not say is - if two or more Cron jobs start within less than five minutes between them - the 'system' will delete them from your account
    see TOS at --> [ https://www.x10hosting.com/legal/terms-of-service ]
     
    Last edited: Dec 20, 2014
  7. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    163
    Trophy Points:
    63
    guys.. guys. GUYS.

    This thread's 6 years old.

    Locked.
     
Thread Status:
Not open for further replies.

Share This Page