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 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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

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

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

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