Re: Crond daemon not running



Richard Kettlewell wrote:

Hakan <H.L@xxxxxxxxxxxx> writes:
I have set up my /etc/crontab file as below but the processes in the
mentioned shell files are not running!! The permissions are set to 777
for those files so please tell me if I am missing something...

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
27 * * * * root run-parts /etc/cron.hourly
54 * * * * sh /var/sioux/docs/dstcheck/processes/proread.sh
/var/sioux/docs/dstcheck/processes/proread.out
2>/var/sioux/docs/dstcheck/processes/proread.err

You missed out the username. The redirections all need to be on the
same line as the command, too.


I changed the crontab file to this but still no action:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
27 * * * * root run-parts /etc/cron.hourly
54 * * * * root sh /var/sioux/docs/dstcheck/processes/proread.sh
27 9 * * * root run-parts /etc/cron.daily
07 12 * * * root sh /var/sioux/docs/dstcheck/files/fileread.sh
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

Thanks in advance for help.



--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet Die Signatur läßt sich nach Belieben anpassen ;-)
.



Relevant Pages

  • Re: Crond daemon not running
    ... mentioned shell files are not running!! ... for those files so please tell me if I am missing something... ... setting the permissions to 777 and running the scripts as root is ... equivalent to giving every user of the system access to the root login. ...
    (comp.os.linux.setup)
  • Re: Crond daemon not running
    ... mentioned shell files are not running!! ... The permissions are set to 777 ... for those files so please tell me if I am missing something... ...
    (comp.os.linux.setup)
  • Re: recently started crashing 4 am
    ... Mikkel L. Ellertson wrote: ... I am missing something - how is this different then what I posted, ...
    (Fedora)