Date: Wed, 26 Nov 1997 11:02:30 -0800 (PST) From: Tim Moony <timm@uniqsite.com> To: Nel <nel@interfusion.aus.net> Cc: questions@FreeBSD.ORG Subject: Re: help with crontab Message-ID: <Pine.BSF.3.96.971126105520.9384A-100000@uniqsite.com> In-Reply-To: <3.0.32.19971127031350.0076f6cc@interfusion.aus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Nov 1997, Nel wrote: > > Hi, > > How do i set up a cron job or whatever u call it so that it will check that > my eggdrop is running and if not then reload it? Thanks for anyhelp. I'm in > FreeBSD 2.2.4 and i run eggdrop1.0p > > Thanks again > OK... I am not an expert, but let me try... # /etc/crontab - root's crontab for Uniqsite.com # # $Id: crontab,v 1.13 1996/01/06 22:21:37 ache Exp $ # From: Id: crontab,v 1.6 1993/05/31 02:03:57 cgd Exp # SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin HOME=/var/log # #minute hour mday month wday who command # */5 * * * * root /usr/libexec/atrun => */10 * * * * root /usr/bin/pppup>/dev/null #/5 * * * * root /usr/bin/pingisp>/dev/null # # rotate log files every hour, if necessary 0 * * * * root /usr/sbin/newsyslog # [SNIP] If you want to specify exat time (of day) for a specific event to kick in, look into the default /etc/crontab for daily and monthly event. On the marked line above, I want pppup command to run every 10 minutes (to make sure line never drops). Does that answer your question? - Tim - The heck, if you don't enjoy your life now, when???
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971126105520.9384A-100000>