wsenter

Well-Known Member
Aug 5, 2003
88
0
156
Texas
The format of the entry looks like this:

minute hour day-of-month month-of-year day-of-week command

minute 00 through 59
hour 00 through 23 (midnight is 00)
day-of-month 01 through 31
month-of-year 01 through 12
day-of-week 01 through 07 (Monday is 01, Sunday is 07)

All five fields must be specified, but an asterisk can be used to match any time/date field. So to build an entry that would run "command" every fifteen minutes you would create a file with a text editor and place an entry in it like this:

15,30,45,59 * * * * command

Which would run "command" at 15 min, 30 min, 45 min, and 59 min, of every hour, of every day, of every month, of every week.
 

novatech

Member
Dec 31, 2005
12
0
151
Thanks, but not quite what I'm looking for.

I meant to say, is there a way to limit cron for my users? I don't want to users to run crons more than once per 15 minutes.

Does cPanel have a solution for this, or are the scripts (or a config option) to limit cron jobs?
 

wsenter

Well-Known Member
Aug 5, 2003
88
0
156
Texas
Thanks, but not quite what I'm looking for.

I meant to say, is there a way to limit cron for my users? I don't want to users to run crons more than once per 15 minutes.

Does cPanel have a solution for this, or are the scripts (or a config option) to limit cron jobs?
Please be as specific as possible in the future as your question was properly addressed in my previous response. You will have to most likely write a custom script (or have one written for you). That will check all the cron tabs once every night to make sure that no one has created one. I don't know that you can exclusively limit them unless you can totally disable them from doing cron jobs at all and make them e-mail you each time they want to add one.