© MainWP - WordPress Management for Professionals 2014 - 2023 - Terms of Service - Privacy Policy - Cookie Policy - Support Policy - Refund Policy
You can disable WP-Cron and set your own Cron jobs to run at the times you prefer. Once you disable WP-Cron on the MainWP Settings page of your Dashboard MainWP will remove all of its schedules.
Once disabled, you can then add the following files to the crontab. Directly under each file, the commands to add to the crontab are added: The reason the “PHP” call is preferred is that this eliminates the HTTP issues (timeouts of the webserver, etc..)
To find out how to set up a Cron for your hosting provider, contact their support or help documentation.
Check for available updates
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp/cron/updatescheck.php > /dev/null 2>&1
Continue backing up sites (process in batches of 5)
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp/cron/backups_continue.php > /dev/null 2>&1
Start backups of site/DB
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp/cron/backups.php > /dev/null 2>&1
Ping each child site to make sure it is still active and connected to your dashboard
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp/cron/pingchilds.php > /dev/null 2>&1
(/path/to/public_html/wp-
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-client- reports-extension/cron/ archive_reports.php > /dev/null 2>&1
(/path/to/public_html/wp-
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-client-reports-extension/cron/send_reports.php > /dev/null 2>&1
(/path/to/public_html/wp-
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-client-reports-extension/cron/continue_reports.php > /dev/null 2>&1
(/path/to/public_html/wp-
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp- maintenance-extension/cron/ maintenance_cronjob.php > /dev/null 2>&1
(/path/to/public_html/wp-content/plugins/mainwp-page-speed-extension/cron/pagespeed_cron.php
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-page-speed-extension/cron/pagespeed_cron.php > /dev/null 2>&1
(/path/to/public_html/wp-
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-page- speed-extension/cron/ pagespeed_cron_sync.php > /dev/null 2>&1
(/path/to/public_html/wp-content/plugins/mainwp-post-dripper-extension/cron/post_dripper.php
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-post-dripper-extension/cron/post_dripper.php > /dev/null 2>&1
(/path/to/public_html/wp-
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-pro- reports-extension/cron/notice_reports.php > /dev/null 2>&1
(/path/to/public_html/wp-
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-pro-reports-extension/cron/send_reports.php > /dev/null 2>&1
(/path/to/public_html/wp-
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-pro-reports-extension/cron/continue_reports.php > /dev/null 2>&1
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-lighthouse-extension/cron/lighthouse_cron_start.php > /dev/null 2>&1
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-lighthouse-extension/cron/lighthouse_cron_sync.php > /dev/null 2>&1
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-lighthouse-extension/cron/lighthouse_cron.php > /dev/null 2>&1
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-domain-monitor-extension/cron/domain_monitor_cron_start.php > /dev/null 2>&1
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-domain-monitor-extension/cron/domain_monitor_cron_alert.php > /dev/null 2>&1
(/path/to/public_html/wp-content/plugins/mainwp-sucuri-extension/cron/securityscan_notification.php
wget -O /dev/null http://yourdashboard.com/wp-content/plugins/mainwp-sucuri-extension/cron/securityscan_notification.php > /dev/null 2>&1
Prefered option, calling directly from the command line (beware, the path to php may vary depending your host)
/usr/bin/php /path/to/public_html/wp-content/plugins/mainwp/cron/**FILE** > /dev/null 2>&1
wget -O /dev/null http://example.com/wp-content/plugins/mainwp/cron/**FILE** > /dev/null 2>&1