Cron Again

Status
Not open for further replies.

mumbhaki

New Member
Messages
24
Reaction score
0
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
 

LHVWB

New Member
Messages
1,308
Reaction score
0
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

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:

mumbhaki

New Member
Messages
24
Reaction score
0
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
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
ummm. no. you cant let crons run every minute. Its against X10 comandments.... It causes extreme server lag and crashes....
 

coffeeor

New Member
Messages
8
Reaction score
0
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.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
You should be able to have crons every minute.
x10hosting's free-hosting "Terms of Service" (TOS) - which you have a link for in your sig
says:
CRON
We do not allow more than one cronjob execution within a 5 minute time period per account. This means if you have two crons you must make sure that both do not go off within 5 minutes of each other. Auto-Generated Content: Sites that use scripts or applications to automatically generate content are prohibited...
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:

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
guys.. guys. GUYS.

This thread's 6 years old.

Locked.
 
Status
Not open for further replies.
Top