Re: cron.daily excutions not logged

Marcus Meissner <[email protected]> Wed, 9 Jan 2013 13:08:44 +0100
Newsgroups gmane.linux.suse.oracle.general
Organization SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer, HRB 16746 (AG Nuernberg)
Message-ID <[email protected]>
On Sun, Dec 23, 2012 at 05:24:58PM +0300, Vladimir Barac wrote:
> Hello, listers
> 
> Been playing with Suse a bit, and found something strange / interesting... I want to see execution history for scripts in /etc/cron.hourly, but there are no entries in /var/log/messages.
> 
> Other cron jobs (owner by root or others) are logged.
> 
> Scripts in /etc/cron.hourly are executed - that is not an issue. To test this, I have created simple script like "date >> /tmp/date.txt" and I can see that it is really running hourly. However, no entries in /var/log/messages.
> 
> So, what is the trick? Where are cron.hourly runs logged?

In /etc/sysconfig/cron set:
SYSLOG_ON_NO_ERROR="yes"

Then these runs should all get syslog with rating "info".

There actually should be no difference between hourly and daily though,
so that you see differences there is strange.

Ciao, Marcus
_______________________________________________
suse-sles-e mailing list
[email protected]
http://listx.novell.com/mailman/listinfo/suse-sles-e