/var/log/cron 用来记录任务计划的运行日志,如下,分别表示:

任务运行的日期与时间 、在哪台主机上运行 、运行任务的程序[进程号] 、任务运行的具体信息

[root@localhost ~]$ tail /var/log/cron 
Apr 21 08:01:01 localhost CROND[85597]: (root) CMD (run-parts /etc/cron.hourly)
Apr 21 09:01:01 localhost CROND[85809]: (root) CMD (run-parts /etc/cron.hourly)
Apr 21 10:01:01 localhost CROND[86044]: (root) CMD (run-parts /etc/cron.hourly)
Apr 21 11:01:01 localhost CROND[86329]: (root) CMD (run-parts /etc/cron.hourly)

 

 

 

 

 

 

       

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2022-01-14
猜你喜欢
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
  • 2022-03-07
  • 2022-12-23
相关资源
相似解决方案