10/03/28 10:17:48 aIXMhtXe
# ls -l /etc/cron.d/
合計 8
-rw-r--r-- 1 root root 131 3月 26 21:30 getepg
# vi /etc/cron.d/getepg
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
45 */2 * * * httpd /var/www/epgrec/getepg.php
cronのログ
Mar 28 01:15:54 localhost anacron[2686]: Job `cron.daily' terminated
Mar 28 01:15:54 localhost anacron[2686]: Normal exit (1 jobs run)
Mar 28 02:01:01 localhost crond[3982]: (root) CMD (run-parts /etc/cron.hourly)
Mar 28 03:01:01 localhost crond[4089]: (root) CMD (run-parts /etc/cron.hourly)
Mar 28 04:01:01 localhost crond[4196]: (root) CMD (run-parts /etc/cron.hourly)
Mar 28 04:02:02 localhost crond[4203]: (root) CMD (run-parts /etc/cron.daily)
Mar 28 04:02:02 localhost anacron[4208]: Updated timestamp for job `cron.daily' to 2010-03-28
Mar 28 04:22:01 localhost crond[4758]: (root) CMD (run-parts /etc/cron.weekly)
Mar 28 04:22:01 localhost anacron[4762]: Updated timestamp for job `cron.weekly' to 2010-03-28
Mar 28 05:01:01 localhost crond[13649]: (root) CMD (run-parts /etc/cron.hourly)
Mar 28 06:01:01 localhost crond[13756]: (root) CMD (run-parts /etc/cron.hourly)
Mar 28 07:01:01 localhost crond[13863]: (root) CMD (run-parts /etc/cron.hourly)
Mar 28 08:01:05 localhost crond[13980]: (root) CMD (run-parts /etc/cron.hourly)
Mar 28 09:01:01 localhost crond[14100]: (root) CMD (run-parts /etc/cron.hourly)
Mar 28 10:01:01 localhost crond[14327]: (root) CMD (run-parts /etc/cron.hourly)
cronがうまく働いてくれない。何がおかしい?