Cron Jobs Doesn’t Work!

Cron job is the feature provided by your host, and in MEC we recommend every user to set Cron jobs on their host.
But sometimes it may not work for some reason, however, one solution is to use the WP – Control plugin, about this plugin, you can read this article: How to View and Control WordPress Cron Jobs 
Please install and activate it (before installation, please get full back up your website).
Related Links:
The first one please go MEC > Import/Export > Google import/export (at least 1 event) manually from Google Calendar.
By doing this you set the API to g-import / g-export file in MEC.
After that go to MEC > Import/Export > Synchronization and if you want to import / export please follow the images below:
2 by 2 together
Or:
Now save the Synchronization page.
Then, go WordPress Dashboard > Tools > Cron Events and find the “mec_syncScheduler
You can edit it and set time for run the Cron
The correct hook Is: mec_syncScheduler
The Correct Action Is: MEC_syncSchedule->sync()
Now when run you can see the events are imported/exported.
Please Note: if you didn’t see above hook name (or action), you should contact your host provider.

If you are going to set up Cron Jobs on your hosts you should contact your hosting provider. different hosts have different commands for their system.

For example, to set a Cron Jobs in cPanel, run the command as described below:

php -q /command/

0 Comments

No Comment.