Community Forums
Connect with us on LinkedIn
Community Notice
  
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member Chriz1977's Avatar
    Join Date
    Sep 2006
    Posts
    191

    Default Cron Jobs

    Hi

    Is there any way to prevent users from setting up cron jobs? IE prevent them setting up crons that run every minute, hour, etc.

    Cheers
    When I was young I used to break Windows, Now Microsoft does it for me!

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    203

    Default

    WHM > Packages > Feature Manager > Edit a Feature List > disabled

  3. #3
    Member Chriz1977's Avatar
    Join Date
    Sep 2006
    Posts
    191

    Default

    I was more after the ability to restrict the recurance. EG can run monthly but not daily
    When I was young I used to break Windows, Now Microsoft does it for me!

  4. #4
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    You couldn't impose that kind of limitation within Cpanel itself.

    HOWEVER ...

    You could possibly write a script to check the crontab files in
    /var/spool/cron at regular intervals on it's own cronjob and
    auto modify those cron files that don't meet your limits.

    That should be an easy enough script to write and that
    is exactly how I would go about doing it.

    I have a similar measure in place on a few systems using
    the same technique to override forwarders to AOL accounts

Similar Threads & Tags
Similar threads

  1. Cron Jobs
    By tech6 in forum New User Questions
    Replies: 2
    Last Post: 10-11-2010, 12:06 AM
  2. Where are cron jobs?
    By Daerious in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-08-2009, 03:47 AM
  3. Cron jobs
    By DigiCrime in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-04-2005, 03:47 AM
  4. Cron Jobs
    By TitaniumHosting in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-01-2005, 09:47 PM
  5. cPanel cron jobs or cron.daily , cron.hourly , etc.?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-01-2004, 08:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube