Dnia wtorek, 17 maja 2005 21:45, Elan Ruusamäe napisał: > i get daily fortunes from logrotate cron. > i really don't think the fortunes should be outputed on cronjobs (the package > description doesn't say so ;P) > > these get executed because: > 1. /etc/profile is called somehow from logrotate postscripts > 2. /etc/profile.d/fortune-mod.sh is called from /etc/profile > > so should the /etc/profile.d/*.sh called only on interactive shells? > somehow prevent logrotate post scripts calling /etc/profile? > > are there (/etc/profile.d) any scripts which should be called for cron > scripts? i have all them useful only for user terminals. > > btw, it *might* have something to do with the fact that root shell > is /bin/bash not /bin/sh
Some time ago when I started find bug, cron stops mail me fortunes :) _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
