编辑任务
crontab -e

0 0 * * * /usr/local/script/log_clear.sh
{minute} {hour} {day-of-month} {month} {day-of-week} {full-path-to-shell-script} 
#查看当前运行的定时任务
crontab -l
#重启服务   
service crond restart