getting cron.php errors

More
8 years 1 month ago #78279 by Helen
getting cron.php errors was created by Helen
Hi

I've set up the Cron job to run on the server for the email reminder service but am getting the following 6 errors

Any ideas how to sort then out as they are making little sense to me?

/components/com_osservicesbooking/cron.php: line 1: ?php
: No such file or directory
/components/com_osservicesbooking/cron.php: line 2: /*
: No such file or directory
/components/com_osservicesbooking/cron.php: line 10: */
: No such file or directory
/components/com_osservicesbooking/cron.php: line 11: //: is a directory
/components/com_osservicesbooking/cron.php: line 12: syntax error near unexpected token `('
/components/com_osservicesbooking/cron.php: line 12: `// defined('_JEXEC') or die; '

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #78297 by Mr. Dam
Replied by Mr. Dam on topic getting cron.php errors
Hi Helen,
I am not sure how to setup Cron job on your hosting, but normally, the format of cron job in almost hosting is:
php real_path_to_joomla_site/components/com_osservicesbooking/cron.php
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #78520 by Penn
Replied by Penn on topic getting cron.php errors
You might consider a webcron service like easycron.com which will load www.website.com/components/com_osservicesbooking/cron.php at a given time.

EasyCron.com - Webcron service loved by webmasters.
The following user(s) said Thank You: Mr. Dam

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #78682 by Helen
Replied by Helen on topic getting cron.php errors
Thanks but once my webhosting company (United Hosting) updated the path to find the cron job it all works great - and no charge either so no complaints from me!

Thanks anyway though

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam