[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FW-1] Too large log file



Hi,


>im new to this thing, what's "/dev/null 2 &1" for?

">/dev/null 2>&1" is:
">/dev/null" redirects all standard output to, well /dev/null. It's a
device like any other, but it has NO storage capacity, everthing is
deleted immediately. "2>&1" redirects the error output stream (2) to
the standard output stream (1).
I.e. there's no output of the program at all. If you leave this away
then you'll (the cron user) get emailed the detail for every cron job.

Patrick

===============================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
===============================================