crontab vs. links in /etc/cron.hourly (etc.)

Patrick R. McManus mcmanus at ducksong.com
Wed Jun 5 09:54:41 EDT 2002


[Scott Prive: Wed, Jun 05, 2002 at 09:42:34AM -0400]
> 
> # Tar it:
> /usr/bin/cvs co stest
> /bin/tar cf /root/$STEST stest/
> 

my guess is that it has to do with the output of one or both of these
commands (the stdout/stderr output).. redirect them to /dev/null or a
logifle and give it another try..

run-parts invokes the script ($i=script) as

       if [ -x $i ]; then
                $i 2>&1 | awk -v "progname=$i" \
                              'progname {
                                   print progname ":\n"
                                   progname="";
                               }
                               { print; }'
        fi





More information about the Discuss mailing list