Cron is not working

profitz.site
Mailing Support from Zoho
SMTP from WP mail SMTP

Scheduled email after order completion is not working. When I asked plugin support, they said cron may not be working properly for sending order completion mails. Kindly check the issue.

Thank you

I have installed wp crontrol, but dont know how to read those events.
One thing I can inform with order details is
Deferred Actions : Scheduled

Cron jobs are not an available feature on free hosting. I would recommend looking for an alternative way to send email that doesn’t require it, but if you need cron jobs you can upgrade to premium hosting.

8 Likes

Free hosting indeed doesn’t support system cron jobs, but you don’t need it in most cases. By default, WordPress runs a built-in scheduler that periodically runs background tasks along with a page load.

However, since that task scheduling is entirely done within WordPress, we can’t break or fix that from the hosting site. I don’t know enough about the WordPress internals to tell you when those tasks are run or why they wouldn’t run.

If your order system doesn’t use the built-in WordPress cron and needs it’s own cron tasks, that’s not supported on free hosting. But from what limited information you have provided, I suspect you’re using WooCommerce, which doesn’t need this.

5 Likes

Hi admin,

WordPress tasks are run depending on how the task issuer (i.e. the plugin) codes it. It can be placed in the WordPress cron queue as a scheduled task, or simply a custom database table that gets checked with every page load.

By observation here, it seems that the Zoho plugin can take over the original WooCommerce email mechanism and only uses the cron queue the check email sending. In this case, Prithvi needs to manually send those emails or try configuring to see if Zoho offers the page load option. An upgrade is needed if such an option does not exist.

Normally WordPress plugins code both ways to ensure their tasks get executed properly, some even uses ajax to hit the server periodically for adding additional opportunities in task execution.

Cheers!

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.