Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cron jobs not sending notification emails

Discussion in 'E-mail Discussion' started by bluecup, Aug 8, 2014.

  1. bluecup

    bluecup Member

    May 30, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    In the cPanel, I have set up cron jobs and also added a new cron email to receive notifications but I haven't been receiving any notification after the cron job has been run.

    I have set up a cron job like below:
    /usr/bin/wget -q -O /dev/null ""
    The cron job runs fine. I am just not receiving the email notification. Is it due to redirection to /dev/null?
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you have root access to this server? If so, you can browse to /var/spool/cron/$username to ensure the "MAILTO" entry at the top of the file uses the correct contact email address. Also, you should remove the /dev/null entry from the cron job so the output is not discarded.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice