They use two different mechanisms. The Laravel one short circuits the bootstrapper entirely. The October one uses the database and allows admins to bypass.
I think we could introduce a programmatic way to enable maintenance mode via the database.
Thanks for the response @daftspunk, I guess what I’m asking is if there can be an equivalent console command to php artisan down for October maintenance mode that we can put in Cron.
Appreciate it’s not as simple as that. We’re still finding out stuff ourselves and will have a look at october:util. Thanks again.
As a temporary measure, I’m making my own command. I can’t see any way to change maintenance mode setting using the model reference however. Any ideas?