Looking at http://wiki.hcoop.net/RunningYourOwnApache#Apachesetupandstartup I'm guessing that I need to use k5start to run my script for appropriate file permissions. So now I'm guessing:
JABBER=k5start -qtU -f /etc/keytabs/user.daemon/michal -- /afs/hcoop.net/user/m/mi/michal/bin/jabber_daemon @reboot $JABBER 0-59/5 * * * * $JABBER Should work, checking every 5 minutes. On Fri, Apr 10, 2009 at 2:34 PM, Michal <[email protected]> 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? > > > On Fri, Apr 10, 2009 at 2:11 PM, Davor Ocelic <[email protected]> wrote: >> On Fri, 10 Apr 2009 10:03:51 +0100 >> Michal <[email protected]> wrote: >> >>> Hi, >>> >>> If the server is restarted/rebooted, is there a way to automatically >>> get my own daemons to restart automatically? >> >> Yes, you can request crontab privilege from the Members portal, and >> use the cron to re-start your daemons. >> >> -doc >> >> _______________________________________________ >> HCoop-Help mailing list >> [email protected] >> https://lists.hcoop.net/listinfo/hcoop-help >> > _______________________________________________ HCoop-Help mailing list [email protected] https://lists.hcoop.net/listinfo/hcoop-help
