Date: Tue, 21 Feb 2006 09:51:13 -0500 From: Chuck Swiger <cswiger@mac.com> To: Graham Bentley <gbentley@uk2.net> Cc: freebsd-questions@freebsd.org Subject: Re: Cron Q Message-ID: <43FB28E1.5020201@mac.com> In-Reply-To: <000f01c636f5$29211840$0807a8c0@admin> References: <20060221120042.DC09316A420@hub.freebsd.org> <000f01c636f5$29211840$0807a8c0@admin>
next in thread | previous in thread | raw e-mail | index | archive | help
Graham Bentley wrote: > Is it OK to list two different tasks on two lines for the exactly the same > time ? > I did this and the second one didnt run .... maybe it was a problem with the > job ... You're probably better off having a one-line cron line which invokes a shell script that runs your two different tasks sequentially (especially if the seconds depends on the output of the first). You can also conjoin the commands via "&&": grep -q WARNING /var/log/messages && echo "Warnings found!" -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43FB28E1.5020201>