The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cron Daemon

Discussion in 'General Discussion' started by nocwiz, Feb 10, 2004.

  1. nocwiz

    nocwiz Registered

    Joined:
    Jun 18, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I'm getting tons of emails from the Cron Daemon for cron jobs that are no longer in the crontab.

    1) Is there a way to stop these error messages, even if they exist?

    2) Is there somewhere else I should be looking for cron jobs?

    Thanks
     
  2. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18


    Add "> /dev/null 2>&1" to the script's line in your crontab.

    As root, do crontab -u <username> to check crontabs for other users, you can also check /var/spool/cron or /etc/crontab, one of those should have a list of files with each username corresponding to the appropriate user.
     
Loading...

Share This Page