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

[cobalt-users] RAQ550 cron job not running error reported



I am trying to run awstats as a cron job quarter hourly.

The file awstats-run.pl is in the directory
/etc/cron.quarter-hourly/

It is owned by root and has permissions
-rwxr-xr-x

But does not appear to run :-(

My admin mailbox reports the following

>From root  Sat Apr 12 07:48:01 2003
Return-Path: <root>
Received: (from root@localhost)
	by ns2.yateinternet.co.uk (8.11.6/8.11.6) id h3C6m0J06535
	for root; Sat, 12 Apr 2003 07:48:00 +0100
Date: Sat, 12 Apr 2003 07:48:00 +0100
Message-Id: <200304120648.h3C6m0J06535@xxxxxxxxxxxxxxxxxxxxxx>
From: root (Cron Daemon)
To: root
Subject: Cron <root@ns2> run-parts /etc/cron.quarter-hourly
X-Cron-Env: <SHELL=/bin/bash>
X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <HOME=/>
X-Cron-Env: <LOGNAME=root>

/usr/bin/run-parts: /etc/cron.quarter-hourly/awstats-run.pl: No such
file or directory

If I log on as root and cd /etc/cron.quarter-hourly/

And type 'perl awstats-run.pl' the program runs and writes the output to
the appropriate web sites.

Where do I look to see whats going wrong and why it does not run as a
cron job ?


Regards

Martin