Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux Cron选项卡运行多次_Linux_Cron_Crontab - Fatal编程技术网

Linux Cron选项卡运行多次

Linux Cron选项卡运行多次,linux,cron,crontab,Linux,Cron,Crontab,我在同一时间运行了许多cron, 但其中只有一个运行多次(应为每小时一次) 但它运行10-12次,然后停止 日志看起来不常见,如下所示: Jul 14 11:01:02 ip-10-76-186-138 crond[829]: (root) CMD (run-parts /etc/cron.hourly) Jul 14 11:04:02 ip-10-76-186-138 crontab[2971]: (root) BEGIN EDIT (root) Jul 14 11:05:00 ip-10-7

我在同一时间运行了许多cron, 但其中只有一个运行多次(应为每小时一次) 但它运行10-12次,然后停止

日志看起来不常见,如下所示:

Jul 14 11:01:02 ip-10-76-186-138 crond[829]: (root) CMD (run-parts /etc/cron.hourly)
Jul 14 11:04:02 ip-10-76-186-138 crontab[2971]: (root) BEGIN EDIT (root)
Jul 14 11:05:00 ip-10-76-186-138 crontab[2971]: (root) REPLACE (root)
Jul 14 11:05:00 ip-10-76-186-138 crontab[2971]: (root) END EDIT (root)
Jul 14 11:05:01 ip-10-76-186-138 crond[1211]: (root) RELOAD (cron/root)
Jul 14 11:05:05 ip-10-76-186-138 crontab[3514]: (root) BEGIN EDIT (root)
Jul 14 11:06:51 ip-10-76-186-138 crontab[3962]: (root) BEGIN EDIT (root)
Jul 14 11:07:04 ip-10-76-186-138 crontab[3962]: (root) REPLACE (root)
Jul 14 11:07:04 ip-10-76-186-138 crontab[3962]: (root) END EDIT (root)
Jul 14 11:07:09 ip-10-76-186-138 crontab[4014]: (root) BEGIN EDIT (root)
Jul 14 11:08:01 ip-10-76-186-138 crond[1211]: (root) RELOAD (cron/root)
Jul 14 11:10:01 ip-10-76-186-138 crond[4606]: (root) CMD (/usr/lib64/sa/sa1 1 1)

日志显示正在编辑的crontab文件。有两个cron事件,但它们是不同的作业(cron.hourly和sa1)——没有重复。