Forum OpenACS Q&A: Re: Keepalive problem

Collapse
6: Re: Keepalive problem (response to 5)
Posted by Malte Sussdorff on
I changed the keepalive scripts so they can be run from a cron job as well.

Quick documentation:

  1. Edit /etc/keepalive/keepalive-config.tcl to reflect your setup:

    set servers_to_monitor {http://www.yourserver.com "svc -du /service/service0"}

  2. Edit your root crontab file:

    export EDITOR=emacs;crontab -e

    Add a line like this:

    -*/2 * * * * /web/service0/etc/keepalive/keepalive-cron.sh