添加定時任務(先刪除,而後再添加)code
crontab -l | grep -v "your.sh" | crontab - (crontab -l; echo "* * * * * sh "`pwd`"/your.sh") | crontab -