RHEL 5.* logfiles
How do you check what time the logfiles run?
I can see in: /etc/logrotate.conf that they are daily, and in: /etc/logrotate.d who is being rotated... but is there a way to tell what time they will run? Is it just a default of midnight? How can you tell? How would I go about setting them so that the rotated at, say 3am in the morning? Many Thanks in advance, Lee |
You can see the time at which the logrotate script is executed by looking at /etc/crontab. For example on my RHEL4 system I have:
Code:
$ cat /etc/crontab Code:
$ grep daily /var/log/cron |
You can see what time they run by looking at the contents of the following file:
/etc/crontab For example you could run the following command: Code:
[root@fs2 etc]# cat crontab Regards, Fordeck |
Thank you both! :D
|
All times are GMT -5. The time now is 01:10 AM. |