Re: logging output of a cronjob

Pop User <[email protected]> Fri, 04 Apr 2008 16:05:47 -0400
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Otavio Exel wrote:
> Dear List,
> 
> I have an every-minute cronjob that, once in a while, produces a lot of
> output; I'd like to save this output using multilog;
> 

I solve both this problem and the issue from an earlier thread about 
avoiding running more than one of a job at a time by making such jobs 
services under daemontools that have a down file.  The down file keeps 
them from starting at boot and in cron I start them with svc -o.  You 
never wind up with two running and you get logs.