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

Scheduled maintenance mode

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.5
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w04_MDL-37596_m25_schedmaint

      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

              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13