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? Regards, Ugo
Ugo Bellavance wrote:> Hi, > > I have a cronjob that executes a script that has some echostatements> 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
On 7/24/06, Ugo Bellavance <ugob at camo-route.com> 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?While it shouldn't happen, it's possible that the behavior changed during an update. Do you have a MAILTO line in your crontab? If so, is it defined, or an empty set? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell