Subject: Re: set-uid scripts
To: David Forbes <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 11/01/1999 08:47:02
>> Use the @reboot pseudo time of the respective user within cron.
>This is really what I'd like to do...however, a problem occurs... I end up
>with two crons resident in memory. I presume that this is because my
>process hasn't terminated (as it will never do). However, this is despite
>the fact that my script does an explicit fork() (it's a Perl script),
>which works at the command prompt. Output from the script is redirected
>How can I get remove the second cron?
you also need to close (or redirect) stderr. cron (presumably) still
has a pipe to that and will wait for it to end.
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."