SUMMARY of cron problem
Kiryl Hakhovich <[email protected]>
| Newsgroups | gmane.linux.admin.managers |
|---|---|
| Organization | Bsolution |
| Message-ID | <[email protected]> |
Thanks to many of you, especial thanks to Edward Machaghten and also Brett Geer, Dombrowski Neil and Sean Ryan. The easiest way to solve this problem was to run in cron the logrotate with option '-f' to force logrotate NOT to use it's internal inelegance functions to check log file (a size, number of records and etc...) According the documentation, where Eddward pointed me,logrotate has it's own rules also, that log files should mach in order to be rotated. (this if files are too small, it will simply ignore them) this is it. Thanks a bunch to all of you. Sincerely, Kiryl. Tuesday, May 13, 2003, 8:53:52 AM, you wrote: KH> Hello linuxmanagers, KH> I have a problem. KH> Linux server Redhat 7.3, running 24/7 KH> crond is running, however not every scripts in cron.daily executing KH> every day. KH> for instance i have set up that logrotate should be running every KH> night at 11 pm. I've modified /etc/logrotate.conf to do the job daily KH> and add the script to the /etc/cron.daily KH> however script runs most of the time, but once or twice a week (out of KH> the blue) it's not doing anything.... KH> any ideas? KH> thank you. -- Best regards, Kiryl mailto:[email protected] _______________________________________________ LinuxManagers mailing list - http://www.linuxmanagers.org submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected] subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers