Skip to main content

Cron issues

Comments

4 comments

  • dalem
    you have forgotten some parts try /usr/local/bin/php -q /home/username/public_html/cron/reset-security-codes.php
    0
  • cPanelMichael
    Hello :) Yes, it looks like you are missing the "/" before public_html in the commands you referenced. Let us know if the suggested entry in the previous post is helpful. Thank you.
    0
  • Matthew Yarro
    Figured out a few issues that were causing the error to occur and thought I would share for anyone else pulling hair out of their head: 1). I had to change the permissions to both the folder contain the file and the file itself. They are currently set at 755 (folder) and 644 (file). 2). The pathing for PHP includes was causing an error, but it wasn't showing up in the log. Instead of using relative paths, I used a fully qualified path: /home/username/public_html/settings/settings-config.php With all the other help--thank you--it is working like a gem.
    0
  • cPanelMichael
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.