[CentOS] Cronjob script with date stamp?
Warren Young
warren at etr-usa.comThu Oct 25 15:42:58 UTC 2007
- Previous message: [CentOS] Cronjob script with date stamp?
- Next message: [CentOS] FW: Logwatch for XXXXXXX.kd4efm.org (Linux)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. FILENAME=my-backup-`date +%Y%m%d`.dump
- Previous message: [CentOS] Cronjob script with date stamp?
- Next message: [CentOS] FW: Logwatch for XXXXXXX.kd4efm.org (Linux)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list