cvs定時備份

[root@ltserver1 cvs]# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.1941 installed on Mon Aug 16 09:49:21 2004)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
#in 0:0:0 of 2 days per.backup uml_cvs.
0 0 */2 * * tar czf /home/oisiv/backup/cvs/uml_`date +\%Y`-`date +\%m`-`date +\%d`.tgz /uml
原文地址:https://www.cnblogs.com/oisiv/p/131864.html