[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Config file management utility



Raul Miller wrote:
> If a user is overkill then cron probably is too.  You'd probably do
> fine with something like
> 
> (
> 	trap "" SIGHUP
> 	su nobody -c '
> 			while sleep 300; do
> 				whatever;
> 			done </dev/null >/dev/null 2>&1 &
> 			echo $!
> 		' >/var/run/mtrg.pid
> )

I'd much rather have a cron job for this than keep another process running
all the time. Cron is there so we don't have to use this sort of hack.

-- 
see shy jo


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: