I just installed MainWP. It looks great and i think it is the perfect tool to manage my WP sites and for now mainly the updates.
I have some questions about how to trigger Sync Dashboard with Sites.
Manualy Sync Dashboard works fine but i would like to run it automagically.
In MainWP > Settings > General Settings i set a automatic daily sync time to test the cron.
One time there were 3 of 23 sites synced as far as i can see via the last sync time and then it looks like syncing stopped.
My questions:
Is the above described way correct?
If this is correct why does it stop after a few sites.
Is there a php file that i can run from a cron job that does the sync without wp-cron? What php file and how do i have to configure this (disable wp-cron in Settings???).
When i set the Automatic daily sync time to a certain time and it did a sync (or patialy sync), does this mean that i have to wait 24 hours for the following sync also when i set the time in the future for testing purposes.
Hi Keith, thanks for your prompt reply. I tried the wget before but to no avail.
In the link that you send i see a direct cron running updatescheck.php. Is this the php file that should directly trigger the Sync. And if it is, does it overrule the Automatic daily sync time?
Yes, you will want to use the lines provided for each function to fire off correctly. As for the “Automatic daily sync time” located on the General Settings page - correct; This is the time set for the WP Cron to fire the individual functions that are included within the “Sync”.
This document might be of use too if you choose to test the WP Cron system further before abandoning it.
Hi Keith, would like to let you know that the synchronistations works like a charm now. I adjusted some timing prerequisites according to: System Requirements - MainWP Documentation
Furthermore there was an error in my curl commands in the cron jobs
Thanks again for your support.