Justin B Rye wrote:
>  * standard.daily - a minimal modification of the cronjob;

Come to think of it:

> #!/bin/sh
> # /etc/cron.daily/standard: standard daily maintenance script
> # Written by Ian A. Murdock <[email protected]>
> # Modified by Ian Jackson <[email protected]>
> # Modified by Steve Greenland <[email protected]>
> 
> # Start in the root filesystem, make SElinux happy
> cd /
> bak=/var/backups
> LOCKFILE=/var/lock/cron.daily
> 
> #
> # Avoid running more than one at a time 
> #
> 
> umask 066
> : > $LOCKFILE

That would be microscopically better as
 : >> $LOCKFILE
-- 
JBR
Ankh kak! (Ancient Egyptian blessing)



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to