Schedule Plugin updates for overnight only

Hi there - how do I make sure that Mainwp does all my updates outside of business hours. Clients are complaining the sometimes the site is down for over 20 minutes at inconvenient times.

Is there a cron which I can set maybe?


Hi @247webmaster,

Have you tried to disable the WP Cron usage in MainWP Settings and create custom cron jobs on your cPanel and set the time to run the cron jobs?

1 Like

Figured that would do it but need the syntax please for the different updates


HI - Any chance of getting the cron syntax for only doing plugin updates after a specific time of the day?

Thanks very much

Hi Mal, if you check here, you can find instructions about creating custom Cron jobs in cPanel.

Sorry, not expressing myself well.

I need to know the names of the php files to execute via the control panel cron.


MainWP Dashboard Cron Jobs

Cron: every 15 minute: (crontab schedule: */15 * * * *)

Check for available updates

wget -O /dev/null > /dev/null 2>&1

Ping each child site to make sure it is still active and connected to your dashboard

wget -O /dev/null > /dev/null 2>&1

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