Is my cron job generating any error messages?

Asked by:
HubFans / n/a Points
Time:
2013-10-04 7:55 pm EST
Category:
Website
Hits:
1,447
I have setup a cron job and it executes a php script. I believe the cron job is running, but it is not accomplishing the task I want it to do. There might be an error in my php script.

Is there a way for me to find out if my cron job, which executes a php script, is generating any error messages?

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

To submit an answer, please login.

ANSWERS

0

arnelc
Staff
17,314 Points
2013-10-04 8:52 pm EST
Hello,

Thanks for the question!

If your cron job is running PHP code, you should be able to see any PHP errors in the PHP error log. Use the link to set up the log if you not done so already. You can also take the code and run it an a browser to test it live and see if you're getting any errors.

Finally, you can also request a copy of the Cron log from support by sending a verified email to technical support (support@webhostinghub.com). They verify with either the last 4 digits of the credit card on file or the Account Management Panel (AMP) password. If you suspect errors with the cron jobs, you can also request a copy of the Apache server log in order to correlate when the cron job is running and if errors are occurring on server at that time.

I hope that helps to clarify that issue! Please let us know if you need any further assistance.

Regards,
Arnel C.

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

Want to share this Question?
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.
}