Setting a specific time to run the mu-plugins script
Lightning-fast WordPress on Nginx
Brought to you by:
jessuppi
Originally created by: corzel
Hello!
I want to ask for add an option to set a specific time to run the mu-plugins script.
Right now, on my server this is running at 1:14 PM. and it takes less than a minute to complete the process, but during these seconds the site becomes inaccessible. So I prefer to change this to run after midnight when there are no visitors.
Regards.
Originally posted by: jessuppi
Hello thanks for your feedback @corzel
I think this touches on a bigger question of timing not just
ss-install-wordpress-mu-pluginsbut really any ss core bash script since this issue could probably apply to any ss core cron jobs...Really, I don't see how we could adjust the specific time of a certain cron job(s). It would get messy fast, as soon as we stray away from hardcoding the root crontab. It is the one file that truly should be 100% harcoded.
Perhaps a temporary solution would be changing the server timezone, e.g.
SS_TIMEZONEoption inss-config... however I'd much rather figure out a way to avoid such outages.