Cronjob not working

Asked by:
blainecar / 25 Points
Time:
2013-08-08 10:50 pm EST
Category:
How To
Hits:
395
Command I am trying to use is as follows:

/home/wester55/public_html/martindale/send_email.php

Response email says this:

/bin/sh: /home/wester55/public_html/martindale/send_email.php: Permission denied

To ask this user for more information, please first login.

To submit an answer, please login.

"now" in title should read "not"
blainecar
25 Points
2013-08-08 11:07 pm EST

Best answer chosen by User

0

arnelc
Staff
17,314 Points
2013-08-08 11:21 pm EST
Hello Blainecar,

Sorry to hear that your cron job is not working. It appears to be using /bin/sh in the response. Check out our article on running cron jobs. The suggestion in the article is to use php -q for the PHP command. Something you don't have in your cron job line.

Hopefully, this will resolve the problem you're having! Please let us know if you require further assistance.

Regards,
Arnel C.

To submit a comment on this answer, please first login.

Now the response says this:

/bin/sh: home/wester55/public_html/martindale/send_email.php: No such file or directory
blainecar
25 Points

2013-08-08 11:26 pm EST
It is working now, I found a typeo
blainecar
25 Points

2013-08-08 11:30 pm EST
Hello Blainecar,

Good deal - thanks for letting us know that it's running! Let us know if you any further question or comments.

Regards,
Arnel C.
arnelc
17,314 Points
Staff
2013-08-09 12:24 am EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}