- 🇫🇷France O'Briat Nantes
This MR is running on prod without problem since January, to me it could be marked as RBTC
- Status changed to RTBC
12 months ago 8:30am 4 January 2024 - 🇨🇦Canada b_sharpe
Was dealing with the same but needed it for mutliple drush tasks for other modules as well, this might help: https://www.drupal.org/project/drush_firewall →
- 🇫🇷France O'Briat Nantes
For the record, drush now suggests → to add a condition using
drush maint:status
in the cron line:10 * * * * cd [DOCROOT] && /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 ../vendor/bin/drush --uri=your.drupalsite.org --quiet maint:status && /vendor/bin/drush --uri=your.drupalsite.org --quiet cron
- Issue was unassigned.
- Status changed to Needs work
5 days ago 9:40am 13 December 2024 - 🇬🇧United Kingdom scott_euser
Is there a use-case where people would want to run cron in maintenance mode though? E.g. maybe doing maintenance mode pre-live as a sort of holding page. I think we should make this a checkbox in the configuration with:
- Update hook to make it disabled for existing sites
- Default config install to enable it for new sitesThanks!