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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  • Cron Q Graham Bentley
    • Re: Cron Q Chuck Swiger

Reply via email to