Re: Crond daemon not running
- From: Hakan <H.L@xxxxxxxxxxxx>
- Date: Sun, 21 Aug 2011 22:13:02 +0200
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.out2>/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 ;-)
.
- Follow-Ups:
- Re: Crond daemon not running
- From: Doug Freyburger
- Re: Crond daemon not running
- From: Richard Kettlewell
- Re: Crond daemon not running
- References:
- Crond daemon not running
- From: Hakan
- Re: Crond daemon not running
- From: Richard Kettlewell
- Crond daemon not running
- Prev by Date: Re: Crond daemon not running
- Next by Date: Re: Crond daemon not running
- Previous by thread: Re: Crond daemon not running
- Next by thread: Re: Crond daemon not running
- Index(es):
Relevant Pages
|