Cron usage by users... pls help

snk

Verified User
Joined
Dec 19, 2007
Messages
92
Hi.

I have few boxes where users put cron jobs like that:
* * * * php -f /home/someuser/domains/domain.com/script.php

How I can disable to users use cron for every minutes but allow use cron for each 5 mins as minimal timeframe ?
 
Last edited:
Thanks for reply.

sure i have read mans. but i didnt found answer.
and i dont want to edit manually all 700+ crontab user's files every day
 
Now I understand better what you want. I'd agree with floyd and add that you should probably specifically prohibit every minute cronjobs in your terms of service, and then you might want to write that script.

Then you might want to consider what to do with those who ignore your terms of service.

Jeff
 
So i have psychostats and i need to run cronjobs, but it doesnt even email me any logs if there are erros. Now when i had cpanel. This is how i would set it:
/home/example/domains/example/public_html/stats/stats.pl -v the stats.pl is the file i need to run and -v sends the logs to me, but nothing is working. This is how i have it. running ever 2nd min.

*/2 * * * * /home/example/domains/example/public_html/stats/stats.pl -v


Why isnt it sending me emails. How do i get it to do that and do i have the command right?
 
So i do this.

30 0 1 1 0 /home/example/domains/hintserv.net/stats.pl -v (does -v send a log message to me)



i need it to run every 30 min of the day. how would i do that
 
Cronjobs isn't even sending me messages or emails. So i contacted my web host provider to find out if they even have it working themselves.
 
Back
Top