linux设置定时任务crontab

查看:

crontab -l

修改:

crontab -e       //添加新的定时任务按i

例:

*/30 * * * * /data/download-server/server.sh restart  //半小时执行一次

  

原文地址:https://www.cnblogs.com/julian-chang/p/14296359.html