debian crontab

1.安装

apt-get install cron

2.使用

crontab -e 进入编辑cron 任务

*/1 * * * * echo "hello" >> /home/workspace/b.txt 2>&1 &              //每分钟打印hello 

查看

crontab -l

删除

crontab -r

扫描二维码关注公众号,回复: 9175846 查看本文章
发布了37 篇原创文章 · 获赞 9 · 访问量 6万+

猜你喜欢

转载自blog.csdn.net/qingxili/article/details/82780464
今日推荐