Account supend due to maximum allowed cronjobs

Status
Not open for further replies.

martin9

New Member
Messages
7
Reaction score
0
Points
0
Hi
My account is suspend , showing reason "Reached maximum allowed cronjobs per time interval - 1 cronjob execution allowed per 5 minutes" .

Now please help me what will be perfect setting for corn job.

account Info:

Disk Space - 500M allotted
Bandwidth - 10000M allotted

Thanks.
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
That error message means that if any cron job is running at a rate of 1 execution/5 minute period, you will be suspended.



You can unsuspend yourself, but be warned, the next suspension may be your last.
 

dawn1980

New Member
Messages
4
Reaction score
0
Points
0
Thank you very much Neil Hanlon..

I want say you I hv used this setting in cornjob. u told me "if any cron job is running at a rate of 1 execution/5 minute period" but I don't do this I think.

setting was


Min. hour day month weekday
0 *0/3 * * *



I am requesting you pls tell me wat setting would be suitable for me.

Disk Space -500M
Bandwidth -10000M

Thank you and waiting for your reply.
 

Anna

I am just me
Staff member
Messages
11,739
Reaction score
579
Points
113
You can unsuspend your self through account panel. You then have 4 hours to change the settings of cron.

The interval between any given cron run must be a minimum of 5 minutes.

If you have more then 1 cron, make sure they are not run on the same hour/minute
 

martin9

New Member
Messages
7
Reaction score
0
Points
0
I am learning cornjob setting . So I have set some setting , pls tell me anyone is this right or wrong ?

30 * * * * = Run every 10 mins in an hours every day every month


0 * * * * = Run once an every hour every day every month


30 23 * * * = Run every 10 mins in 23 hours every day every month


Thanks and waiting for reply .
 

jtwhite

Community Advocate
Community Support
Messages
1,381
Reaction score
30
Points
0
Just make sure that no crons run more than once per five minutes.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Code:
30 * * * * = Run  at 30 minutes past the hour, 
                    every hour, every day every month
 
 
0 * * * * = Run once an every hour , on the hour,
                             every day   every month
 
 
30 23 * * * = Run at 11.30pm every day
                            every month

When or how often do you want your cron job to run?
 
Last edited:

craxtech

New Member
Messages
6
Reaction score
0
Points
0
I am learning cornjob setting . So I have set some setting , pls tell me anyone is this right or wrong ?

30 * * * * = Run every 10 mins in an hours every day every month


0 * * * * = Run once an every hour every day every month


30 23 * * * = Run every 10 mins in 23 hours every day every month


Thanks and waiting for reply .

im sorry for the ignorance, where do i change the settings bec i am always getting suspended bec of that
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
If you log in to your cpanel, you shuld see crons towards the bottom of the page, under the advanced category. If you click that, it will allow you to edit any crons you have, and to specify when they run. If you use the standard option after clicking it, you will be able to select how often it runs from a list.

Hope this helps :)
 

martin9

New Member
Messages
7
Reaction score
0
Points
0
hi craxtech

Go to Cpanel >Go to CORN JOBS under Advanced Tab and Click > Then U will found Advanced(Unix Style) Click and where u can set .
Edit:


Please anyone tell me this corn setting

1. If I want to run cornjob every 30 min after in 24 hours

2. If I want to run Cornjob every 2 hours after in 24 hours.


Thanks in advance.
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hello, this should help you:

.---------------- minute (0 - 59)
| .------------- hour (0 - 23)
| | .---------- day of month (1 - 31)
| | | .------- month (1 - 12) OR jan,feb,mar,apr ...
| | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
| | | | |
* * * * * command to be executed

So for example, if you want a cron to run every 30 minutes every day of the year, it will be this:

30 * * * *

And every 2 hours will be:
0 */2 * * *
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
So for example, if you want a cron to run every 30 minutes every day of the year, it will be this:

30 * * * *

No. That would run it at 30 minutes past the hour every hour (works out to once every 60 minutes).
What you need is either of:

0, 30 * * * *

*/30 * * * *

This might result in two of his cron jobs (the other one being every 2 hours) going off at the same time.
To avoid that, he might want to use

15, 45 * * * *
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Sorry, you're correct. Thanks for correcting me.
 
Status
Not open for further replies.
Top