Ugo Bellavance wrote:
Hi,
I have a cronjob that executes a script that has some echo
statements
in it and the commands in it also generate output (it copies files, reloads services, etc...).
Recently, cron stopped sending its output by e-mail. I restarted cron, without success. Any ideas where I shoud start to debug this?
Ugo,
What happens when you run the scripts manually?? That's how I debug scripts that are run from cron...
HTH
Mark
Mark Schoonover wrote:
Ugo Bellavance wrote:
Hi,
I have a cronjob that executes a script that has some echo
statements
in it and the commands in it also generate output (it copies files, reloads services, etc...).
Recently, cron stopped sending its output by e-mail. I restarted cron, without success. Any ideas where I shoud start to debug this?
Ugo,
What happens when you run the scripts manually?? That's how I debug scripts that are run from cron...
The output is ok.
HTH
Mark
On Tue, 2006-07-25 at 08:34 -0400, Ugo Bellavance wrote:
Mark Schoonover wrote:
Ugo Bellavance wrote:
Hi,
I have a cronjob that executes a script that has some echo
statements
in it and the commands in it also generate output (it copies files, reloads services, etc...).
Recently, cron stopped sending its output by e-mail. I restarted cron, without success. Any ideas where I shoud start to debug this?
<snip>
I hope this isn't too silly, but did you examine /var/log/cron? Might be a clue if you can look around the day it last sent and the next day.
Another possible is /var/log/maillog.
HTH
--- "William L. Maltby" BillsCentOS@triad.rr.com wrote:
On Tue, 2006-07-25 at 08:34 -0400, Ugo Bellavance wrote:
Mark Schoonover wrote:
Ugo Bellavance wrote:
Hi,
I have a cronjob that executes a script that
has some echo
statements
in it and the commands in it also generate
output (it copies files,
reloads services, etc...).
Recently, cron stopped sending its output by
e-mail. I restarted
cron, without success. Any ideas where I shoud
start to debug this?
<snip>
I hope this isn't too silly, but did you examine /var/log/cron? Might be a clue if you can look around the day it last sent and the next day.
Another possible is /var/log/maillog.
HTH
Bill
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
is it just cron not sending mail or is it any mail not being sent?
if it is none being sent try restarting sendmail.
my .02
Steven
"On the side of the software box, in the 'System Requirements' section, it said 'Requires Windows or better'. So I installed Linux."