Ubuntu设置Crontab定时任务

  • 修改/etc/crontab配置文件

设置好执行周期、用户、脚本路径

  • 执行/etc/init.d/cron restart

使配置文件生效

posted @ 2022-04-14 11:47  heartxkl  阅读(263)  评论(0)    收藏  举报