Going Down

Component ID

1449426

Component name

Going Down

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1009

Component created

Component changed

Component body

A module that warns site visitors that the web site will be going down for maintenance at a specified time. The default configuration displays a fixed position red overlay message at the bottom of the browser window with text in the format 'Drupal is going offline for maintenance at Tue Feb 21 14:41:08 2012 -0800'. Module configuration is added to the Site Maintenance administration page (admin/settings/site-maintenance).

Settings allow for the modification of: Show warning, off-line date and time, warning message, and off-line action. Off-line action includes an option to set the site offline automatically. There are also advanced settings that control the display format of the date time and warning message. The Going Down module functions by using hook_footer and hook_cron to trigger display of message and perform actions. The message is displayed on all pages and works with page cache to minimize overhead. Once the warning date time has elapsed the next page request or next cron run (whichever comes first) will trigger the specified off-line action.

New Feature: JavaScript Countdown

If the users browser supports JavaScript then the warning message will display a changing countdown timer showing how much time is left before the site goes down. This makes it easier for users to know how much time they have as it takes timezones out of the equation.