plainblack.com
Username Password
search
Bookmark and Share

Maintenance Mode Control

The standard WebGUI upgrade.pl 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.
Comments
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?

Thanks!

"
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 maintenanceMode.pl --configFile=<your-config-file-name> --start

 This
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.

  -Michelle

 
"
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.

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