>>Do this:
>>tar .... > /dev/null 2>&1
>>That should work.
---------------------------------------------------
>Yes...it's cron.  To stop it from mailing you, add this to the end of the
> line in root's crontab:
> > /dev/null 2>&1
-----------------------------------------------------

So I can either put " /dev/null 2>&1 " in the script itself or I can put
it at the end of the crontab file such as this:

# Run morning backup script at 2 am every morning
0 2 * * * /root/backupscript  /dev/null 2>&1

There are 2 ways to do this right?

Andy



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to