linux 下设置定时执行shell脚本
    需求:每十分钟跑一遍自己写的某个shell脚本
vim /ect/crontab 
最后一行添加一句:
*/1 * * * * root sh /projects/updateDS.sh  >> /tmp/svnUpdateCrontab
*/1 * * * * root svn update /projects/ds_front/trunk/ >> /tmp/svnUpdateCrontab
是将执行的脚本输出的内容  写入到tmp目录下的svnUpdateCrontab文件中,svnUpdateCrontab文件可以是原本不存在的,在执行crontab 服务的时候创建
启动crontab服务
关闭
重启
/sbin/service crond start
/sbin/service crond stop
/sbin/service crond restart
查看crond状态
service crond status