3 ms·
A very practical guide and a nice reminder of the power of some of the simple unix utilities that have been around forever. One minor correction/change I would
by pimlottc 5y ago
A very practical guide and a nice reminder of the power of some of the simple unix utilities that have been around forever.
One minor correction/change I would suggest, in the crontab example within the postfix section:
MAILTO=root
0 0 * * * root /usr/local/bin/foobar 2>&1 1>>/var/log/foobar.log
This will make it append to an existing log instead of overwriting it.
- d0mine 5y ago2>&1 should go after the redirection if you want stderr to appear in the file