[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Redhat 7.2:- help on crontab file



Hi All,
    I have worked on a number of favours of UNIX before. Crontab entries always work.

    I am new to Linux. When I use the rule for UNIX and apply that to Linux, the crontab file never get executed. There are a few comment line on the crontab file.

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.18029 installed on Thu Jul 18 15:41:27 2002)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)

When I search for file master and reinstall from /, I cannot find the master nor reinstall.

The "crond" daeman is running.

The /var/log/cron has a numbers of entries on crond.

Jul 14 04:22:00 tslredhat CROND[3760]: (root) CMD (run-parts /etc/cron.weekly)
Jul 14 04:22:00 tslredhat anacron[3764]: Updated timestamp for job `cron.weekly' to 2002-07-14
Jul 15 04:02:00 tslredhat CROND[11391]: (root) CMD (run-parts /etc/cron.daily)
Jul 15 04:02:01 tslredhat anacron[11547]: Updated timestamp for job `cron.daily'  to 2002-07-15
Jul 15 11:00:01 tslredhat CROND[12528]: (root) CMD (/usr/scripts/daily  >/usr/adm/daily 2>&1)
Jul 16 04:02:00 tslredhat CROND[13759]: (root) CMD (run-parts /etc/cron.daily)
Jul 16 04:02:01 tslredhat anacron[13916]: Updated timestamp for job `cron.daily'  to 2002-07-16
Jul 17 04:02:00 tslredhat CROND[15590]: (root) CMD (run-parts /etc/cron.daily)
Jul 17 04:02:02 tslredhat anacron[15747]: Updated timestamp for job `cron.daily' to 2002-07-17
Jul 18 04:02:00 tslredhat CROND[16615]: (root) CMD (run-parts /etc/cron.daily)
Jul 18 04:02:01 tslredhat anacron[16772]: Updated timestamp for job `cron.daily' to 2002-07-18

Jul 18 11:01:00 tslredhat CROND[17346]: (root) CMD (run-parts /etc/cron.hourly)
Jul 18 12:01:00 tslredhat CROND[17374]: (root) CMD (run-parts /etc/cron.hourly)
Jul 18 13:01:00 tslredhat CROND[17402]: (root) CMD (run-parts /etc/cron.hourly)
 

When I add a file which has a similar entry to the crontab file to /etc/cron.hourly, the same script run fine.

Please explain. Thanks.

Regards,
    Yen Ho
    (Technical Support)
 
 
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []