Subject: Re: set-uid scripts
To: David Forbes <>
From: Andrew Brown <>
List: current-users
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
>to /dev/null.
>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" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."