Subject: Re: set-uid scripts
To: Andrew Brown <atatat@atatdot.net>
From: David Forbes <david@flossy.u-net.com>
List: current-users
Date: 11/01/1999 21:54:05
> because of the way that sh parses the command line, so stderr would
> get redirected to the same place as stdout (cron's pipe) and then
> stdout would get redirected to /dev/null. so change that to
>
> @reboot <path-to-script>/<my-script> >/dev/null 2>&1
>
> and stdout will get sent to /dev/null, and then stderr will get sent
> to the same place.
Fantastic...that worked a treat! (Although I do feel a bit silly...)
Thanks,
David.