[HCoop-Help] Own Daemon: Restart with Server Restart

Davor Ocelic docelic at hcoop.net
Fri Apr 10 11:09:45 EDT 2009

On Fri, 10 Apr 2009 14:34:27 +0100
Michal <michalcharemza at gmail.com> wrote:

> Ah... I didn't know that crontab could do things on restart. I have
> now request permission for it. Can I ask if the following suffices for
> my crontab file:
> @reboot ~/bin/jabberd_daemon
> (Where jabberd_demon is my script that calls k5start) It's just that I
> can't really test a server reboot.
> Or should it also check if it is running every X minutes? If so, what
> should the checking interval be?

@reboot is enough.

If you notice some problems in the long run, you can add a periodic
restart time as well, although it should not be necessary.

Our tickets are set to expire in 10 hours I think and it is most
probable that nothing will stop working within that period of time,
so a re-check script that runs every 8 hours or so would be
reasonable. (Again, only if you notice that something is getting
out of order from time to time). 


More information about the HCoop-Help mailing list