Skip to main content

cron job options not working

Comments

12 comments

  • 24x7server
    Hello, Are you getting any error with your cron job ? Please let us know so that we can assist you on this.
    0
  • amos
    thanks for reply no,am not getting any errors when i added the command
    0
  • cPanelMichael
    Hello :) Could you access SSH as the account username and then run the command manually to verify if it completes successfully? Thank you.
    0
  • amos
    ok let me try
    0
  • amos
    thanks but i found out my host has blocked whm where i can use ssh.
    0
  • cPanelMichael
    New thanks but i found out my host has blocked whm where i can use ssh.

    Could you verify if you have root access to the server, or just a hosting account from a web hosting provider? Thank you.
    0
  • amos
    iam afraid they dont give us access to root access, http://yourdomain.com/whm
    0
  • cPanelMichael
    You will need to report this issue to your web hosting provider for assistance if you do not have root access to the server. They can access the server as "root" and troubleshoot the issue. Thank you.
    0
  • amos
    thanks Michael..i really appreciated your advice.
    0
  • amos
    Hi,Michael,i contacted my isp,and its seems now to be working .however i received access denied at end of the usr/home/public/php:accessdenied ie /usr/local/cpanel/bin/jailshell: /home/auto/public_html/newsletter/blast_script.php: Permission denied
    0
  • amos
    thanks guys its now working like a charm used this,i think -q was missing to get php and also permission /usr/local/bin/php -q /home/autotran/public_html/newsletter/cron.php ---permission to folder 755
    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.