进入编辑器
crontab -e
每日0点执行
0 0 * * * logs.sh
修改后,运行重启crontab.
service crond restart
运行查看cron服务是否启动。
service crond status
进入编辑器
crontab -e
每日0点执行
0 0 * * * logs.sh
修改后,运行重启crontab.
service crond restart
运行查看cron服务是否启动。
service crond status