1 参考 Linux定时任务(cron服务)_linux cron_快看,有奥特曼的博客-CSDN博客
Linux 有一个cron 进程,在这个进程里面 可以通过cron -e 编辑 添加新的定时任务。
通过cron -l 可以查看
cron -e 编辑
# crontab -l
*/30 * * * * /root/boot/auto_del_log.sh >/dev/null 2>&1
1 参考 Linux定时任务(cron服务)_linux cron_快看,有奥特曼的博客-CSDN博客
Linux 有一个cron 进程,在这个进程里面 可以通过cron -e 编辑 添加新的定时任务。
通过cron -l 可以查看
cron -e 编辑
# crontab -l
*/30 * * * * /root/boot/auto_del_log.sh >/dev/null 2>&1