Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services

Cron job not working anymore

  • P. Swemmelaar
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 months 1 week ago - 2 months 1 week ago #178613 by P. Swemmelaar
Cron job not working anymore was created by P. Swemmelaar
Hi Dam,

In version 9 the booking reminders are not sent anymore. See error message in picture, this occurred when I executed the cron.php directly..

Kind regards,
Peter
Last edit: 2 months 1 week ago by P. Swemmelaar. Reason: incomplete

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

More
2 months 1 week ago #178614 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Cron job not working anymore
Hi Peter,
In the new version of OS Services Booking, we no longer use the old cron.php file.
Instead, the cron task is now handled by the OSB Cron Task plugin.
You can read the documentation and setup instructions here:
docs.joomdonation.com/osservicesbooking/...osb-cron-task-plugin
Please check it and configure the cron task using this plugin.
Regards,
Dam

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

More
1 week 4 days ago - 1 week 4 days ago #179235 by Eric Van Tichel
Replied by Eric Van Tichel on topic Cron job not working anymore
I tried to get the cron plugin to work but there are no reminders whatsoever. My host checked and following cron task functions without problems, but there are no reminders sent, what can I do to get this working? curl --request GET compulsieveconsumentcoach.com/index.php?trigger_code=xxxxxxxxx > /dev/null 2>&1

the https:// part is in the cron task but the forum software doesn't show it here 
Last edit: 1 week 4 days ago by Eric Van Tichel. Reason: https:// seems to be missing

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

More
1 week 4 days ago #179244 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Cron job not working anymore
Hi Eric,
Please update the ticket with the issue details, so I can check it for you.
Best regards,
Dam

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

More
1 week 4 days ago #179249 by Eric Van Tichel
Replied by Eric Van Tichel on topic Cron job not working anymore
Hi,
In the published plugin for cron task I put the same trigger code as in the cron task. I activated reminders in the configuration set at 2 hours, activated it for the clients too. Please inform me if you need more details

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

More
1 week 3 days ago #179252 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Cron job not working anymore
Hi,
What you have done is enough.
So if the reminder emails are still not being sent, I will need to check the code to find the cause.
Best regards,
Dam

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

More
1 week 3 days ago - 1 week 3 days ago #179253 by Eric Van Tichel
Replied by Eric Van Tichel on topic Cron job not working anymore
OK thanks Dam!
Kind regards,
Eric

PS could it be that the website is offline and we are logging in as administrator to test things out? 
Last edit: 1 week 3 days ago by Eric Van Tichel.

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

More
1 week 2 days ago #179257 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Cron job not working anymore
Hi Eric,
The site being offline could be the reason why the reminder emails are not working.
Reminder emails usually need the website to be accessible so the scheduled task or email process can run correctly. If the site is offline, that process may not be triggered properly.
Please turn the site online and test the reminder emails again.
Best regards,
Dam

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

More
1 week 2 days ago #179258 by Eric Van Tichel
Replied by Eric Van Tichel on topic Cron job not working anymore
Ok thanks Dam, I will test it

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

Moderators: Dang Thuc Dam