[CentOS] Cronjob script with date stamp?
warren at etr-usa.com
Thu Oct 25 15:42:58 UTC 2007
Scott Ehrlich wrote:
> - Have the script dump the results of the job to a text file. I tried
> this with /path/to/dump my switches -v >> /home/me/dump.log
> But that just produced an empty file.
Try appending "2>&1" (without the quotes) to that command.
> - Have the dump file be date-stamped with the date it was executed.
More information about the CentOS