From version 27.1
edited by Guillaume Fenollar
on 2012/11/14 10:15
To version 28.1
edited by Guillaume Fenollar
on 2014/01/29 10:29
Change comment: There is no comment for this version

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -28,8 +28,8 @@
28 28  After doing all the configuration in xinit.cfg you can use xinit in a cron to check XWiki availability. For example the following cron configuration will check XWiki every 5 minutes and Tomcat process every minute.
29 29  
30 30  {{code}}
31 -*/1 * * * * /etc/init.d/xwiki.sh check-proc &> /dev/null
32 -*/5 * * * * /etc/init.d/xwiki.sh check-http &> /dev/null
31 +*/1 * * * * /etc/init.d/xwiki.sh check-proc >/dev/null 2>&1
32 +*/5 * * * * /etc/init.d/xwiki.sh check-http >/dev/null 2>&1
33 33  {{/code}}
34 34  
35 35  Xinit will automatically restart Tomcat in case XWiki is not responding in an amount of time or if the java process is not running. In the same time it will send email notifications to the emails addresses specified in xinit.cfg file. Also the time xinit should wait for XWiki to respond can be set in xinit.cfg .
Prerequisites & Additional Installation Instructions

Get Connected