Skip to main content

cron job returns 404 error

Comments

3 comments

  • cPanelMichael
    Hello :) Have you tried using PHP directly? EX:
    /usr/local/bin/php -q /home/username/public_html/folder/script.php
    Thank you.
    0
  • Pyone
    Yes, it solved the problem. Thank you so much. Service provider asked me to try the following : /usr/bin/curl
    0
  • cPanelMichael
    I suggest consulting with your web hosting provider to have them review the cron job and determine why it's producing a 404 error page. It's difficult to troubleshoot that type of issue without root access. Thank you.
    0

Please sign in to leave a comment.