File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ GNU/Linux提供了*cron* 系统,这是一个基于时间的cron jobs程序,
20
20
21
21
* ** cronie** - 软件包名称,默认情况下,Rocky Linux就包含了cronie这个软件包;
22
22
* ** crontab** - 命令,用于维护每个用户的crontab(任务时间表);
23
- * ** crond.service** - cronie的守护进程,您可以通过` systemctl start | restart | stop | ` 的方式管理守护进程;
23
+ * ** crond.service** - cronie的守护进程,您可以通过` systemctl start | restart | stop |status ` 的方式管理守护进程;
24
24
* ** /etc/crontab** - 给不同的用户分配cron jobs,通常我们更加习惯使用` crontab -e ` 的方式。例如当前登录为root用户,键入` crontab -e ` ,保存后会在/var/spool/cron/root 这个文件中会看到具体的 cron jobs 。
25
25
* ** /var/log/cron\* ** - cronie的日志,默认情况下,做了日志轮替,以日期后缀结尾。\* 这里表示通配符
26
26
* ** anacron** - 属于 cronie 的一部分, 关于` anacron ` 的更多信息,见 [ anacron - 自动化命令] ( anacron.zh.md ) 。
@@ -107,10 +107,10 @@ MAILTO=root
107
107
2 . 指定的命令或脚本未正确的执行,应该怎么办?
108
108
查看/var/log/cron* 文件,使用` journalctl -u crond.service ` 查看守护进程方面的信息,脚本是否有x权限等,进行排查。
109
109
3 . 除了cronie外,还有哪些cron变体?
110
- [ dcron] ( http://www.jimpryor.net/linux/dcron.html ) ,最新版本为4.5(2011-50-01)
111
- [ fcron] ( http://fcron.free.fr/ ) ,最新版本为3.3.0(dev,2016-08-14)
112
- [ bcron] ( http://untroubled.org/bcron/ ) ,最新版本为0.11(2015-08-12)
113
- [ cronsun] ( https://github.com/shunfei/cronsun ) ,最新版本0.3.5(2018-11-20)
110
+ [ dcron] ( http://www.jimpryor.net/linux/dcron.html ) ,最新版本为4.5(2011-50-01)。
111
+ [ fcron] ( http://fcron.free.fr/ ) ,最新版本为3.3.0(dev,2016-08-14)。
112
+ [ bcron] ( http://untroubled.org/bcron/ ) ,最新版本为0.11(2015-08-12)。
113
+ [ cronsun] ( https://github.com/shunfei/cronsun ) ,最新版本0.3.5(2018-11-20)。
114
114
115
115
## 总结
116
116
You can’t perform that action at this time.
0 commit comments