Subject: Re: set-uid scripts
To: David Forbes <firstname.lastname@example.org>
From: Andrew Brown <email@example.com>
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" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."