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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cron jobs not sending emails or running correctly

Discussion in 'General Discussion' started by justneedhelp1234, Apr 4, 2015.

  1. justneedhelp1234

    justneedhelp1234 Registered

    Joined:
    Apr 4, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United States
    cPanel Access Level:
    Website Owner
    im trying to run this script
    /usr/bin/php -q /home/site/public_html/files/cron_jobs/init.php

    service crond statuscrond (pid 2167) is running...
    no error is showing from the cron i checked the error logs and see nothing it just simply isnt running or sending emails, i put an error echo into the script and it emails but when i remove the error it doesn't send or display.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,372
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Does the PHP script work as intended when you run it manually instead of through a cron job?

    Thank you.
     
Loading...

Share This Page