Re: Changes to cron in update 7

Rainer Traut <[email protected]>
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <[email protected]>
Hi,

Anders Nielsen schrieb:
> I have updated today and this has broken some of my cron jobs. If 
> 
> If I put this in in my crontab for the user anielsen
> 
> USER="HELLO WORLD"
> * * * * * echo "$USER"
> 
> I now get "anielsen". Before I got "HELLO WORLD".
> 
> Why was this changed and will it be changed back?

I noticed another wierd behaviour in cron after the update to U7.
The cron daemon refused to start some cron jobs with 'Bad File Mode':

Mar 16 04:33:29 xyz crond[25798]: (*system*) BAD FILE MODE 
(/etc/cron.d/domino_cleanup.d)

But the permissions on /etc/cron.d/domino_cleanup.d are alright:

# ls -la /etc/cron.d/domino_cleanup.d
-rw-r--r--    1 root     root          130 16. Mär 14:49 
/etc/cron.d/domino_cleanup.d

and

# service crond restart

fixed the problem and cron runs fine again.

Thx
Rainer

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.