Cron Job Help


Deamon

Recommended Posts

Using this command:

php/home/USERNAME/public_html/automatichourly.php

and getting this error:

/bin/sh: php/home/USERNAME/public_html/automatichourly.php: No such file or directory

I edited out the username, but if I understand right it is the name that I use to log into cpanel? And I have double checked that automatichourly.php is in the proper folder (it is).

Link to comment
Share on other sites

Are you setting this cron up manually through CLI or cPanel? If you haven't already I would suggest using cPanels built in utility to setup your cron jobs, it'll use the right path system path to PHP and will also help with the correct syntax.

If you're still getting this error and you're using cPanel you may want to submit a ticket over this, as it could be a bug. We'd have to check out your specific account though to verify :)

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...