Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37596

Scheduled maintenance mode

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.1
    • 2.5
    • Administration
    • MOODLE_24_STABLE
    • MOODLE_25_STABLE
    • w04_MDL-37596_m25_schedmaint
    • Hide

      1/ use the web UI to enable old-style maintenance mode where only admin may login, disable afterwards
      2/ use the admin/cli/maintenance.php mode to enable/disable the old-style maintenance mode
      3/ use the admin/cli/maintenance.php mode to enable/disable the CLI maintenance mode (nobody can access server via web interface, only CLI operation allowed)
      4/ use the admin/cli/maintenance.php mode to schedule the CLI maintenance mode - verify it shows the header message before it and switches to CLI maintenance mode afterwards
      5/ disable maintenance mode using admin/cli/maintenance.php
      6/ verify the CLI maintenance message is taken from admin setting, template file ($CFG->dataroot/climaintenance.template.html) and lang pack in this order

      Show
      1/ use the web UI to enable old-style maintenance mode where only admin may login, disable afterwards 2/ use the admin/cli/maintenance.php mode to enable/disable the old-style maintenance mode 3/ use the admin/cli/maintenance.php mode to enable/disable the CLI maintenance mode (nobody can access server via web interface, only CLI operation allowed) 4/ use the admin/cli/maintenance.php mode to schedule the CLI maintenance mode - verify it shows the header message before it and switches to CLI maintenance mode afterwards 5/ disable maintenance mode using admin/cli/maintenance.php 6/ verify the CLI maintenance message is taken from admin setting, template file ($CFG->dataroot/climaintenance.template.html) and lang pack in this order

    Description

      It would be useful if maintenance mode could be scheduled, rather than switched on manually. This would be extremely useful for scheduled maintenance where you know beforehand what time you will be putting the server into maintenance mode.

      Users could then be shown warning notices saying something like "This server will go offline in 12 minutes"

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              maherne Michael Aherne
              Sam Hemelryk Sam Hemelryk
              Andrew Davis Andrew Davis
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13