[ad_1]
Does anyone know a way to force plugins to update at a specific time? I’d prefer a solution that didn’t use another plugin if possible. I found this snippet but it didn’t work. I’d love something similar.
// Stop auto-updating in the middle of the day; update between 2:00 AM to 6:00 AM instead. $updates_suspended = (date(‘Hi’) < 0200 || date(‘Hi’) > 0600); define( ‘AUTOMATIC_UPDATER_DISABLED’, $updates_suspended );
[ad_2]