Username Password
Bookmark and Share

Maintenance Mode Control

The standard WebGUI script will turn on maintenance mode while it is upgrading a site.  This contributed script gives an admin the ability to turn on (and off) maintenance mode for a specific site for other reasons.  

When in maintenance mode the site displays the static webpage docs/maintenance.html. 

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
2JT: "Added to the core in"
4alafondo: "
I put this script into WebGUI's sbin directory and from that directory have been made a command "--start" but nothing happens.

How should I use this script?


4mlamar: "
There is a --help option which will give you all the options. But the main idea is that you run it as follows:

% perl --configFile=<your-config-file-name> --start

will put the site controled by that config file into maintenance mode,
and --stop will take it out.  A few notes: you will probably need
to be super user to run this properly.  Also <your-config-file-name> should not include the path.

 Hope this helps.


2alafondo: "Thanks, now works"
2alafondo: "
It seems that it doesn't work with WebGUI-7.0.6 /perl5.8.8.

It returns an error.

Could anyone help.

DownloadmaintenanceMode_pl.txt maintenanceMode_pl.txt
LinksNo Support Offered
Statistics Downloads: 805
Views: 7646
Rating: 3
Updated: 5/25/2006
Keywords miscellaneous
NavigationBack to the Bazaar
© 2023 Plain Black Corporation | All Rights Reserved