logPath=/data/ cd $logPath echo "" > xiaozou/nohup.out
执行crontab -e
crontab -e
编辑新增定时任务
*/30 * * * * sh /data/clear.sh
tail -f /var/log/cron