cron job using

  • kevin kenner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 6 months ago #110542 by kevin kenner
cron job using was created by kevin kenner
Hello
I have an error on creating corn job.
as you see in cpanel I have created a cron job to Email me evry 30 minuts, I use Path link and also I used Direct link to creat the Cron job,
whin I try to open the direct link, both time I get an error like this
Deprecated: Non-static method HelperOSappscheduleCommon::getRealTime() should not be called statically in /home/fadeinn/public_html/components/com_osservicesbooking/cron.php on line 50

seet the direct link
fadeinn.co.uk/components/com_osservicesbooking/cron.php

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

More
7 years 6 months ago #110620 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic cron job using
Hi,
You should use the Real path to file cron.php instead of using live path. You can see the instruction at top of "Cron task setting page". The format of Cron command is:
/usr/local/bin/ea-php56 /home/fadeinn/public_html/components/com_osservicesbooking/cron.php
Thanks
Dam

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

  • kevin kenner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 6 months ago #110676 by kevin kenner
Replied by kevin kenner on topic cron job using
I've done it now I got an error of permission on my Email. what permission must be the corn.php??
/usr/local/cpanel/bin/jailshell:
/home/fadeinn/public_html/components/com_osservicesbooking/cron.php: Permission
denied

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

Moderators: Dang Thuc Dam