Re: [opensuse] logrotate and crontab
- From: Verner Kjærsgaard <vk@xxxxxxxxxxxxx>
- Date: Thu, 29 Mar 2007 16:47:59 +0200
Torsdag 29 marts 2007 16:35 skrev Kenneth Schneider:
On Thu, 2007-03-29 at 11:08 -0300, Rejaine Monteiro wrote:Hi list and Ken,
Hi,
I've been having a look on how crontab is setup on default Suse
9.2/10.0/10.1 servers,
since i wanted to find out when logs are being rotated.
as far as i can see, the default crontab entries (in /etc/cron.daily,
etc/cron.hourly etc.) are being scheduled via the /etc/crontab master
file:
-*/15 * * * * root test -x /usr/lib/cron/run-crons &&
/usr/lib/cron/run-crons >/dev/null 2>&1
59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
14 4 * * * root rm -f /var/spool/cron/lastrun/cron.daily
29 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
44 4 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
but at what time does for example /etc/cron.daily/* get run ?
hourly: on the hour
daily: 4:15am
weekly: 4:30am
monthly: 4:45am
--
Ken Schneider
UNIX since 1989, linux since 1994, SuSE since 1998
- those hours and times are not hardcoded into something?
- can you tell us where they are located?
- thank you!
--
-------------------------------------------------------------------------
Med venlig hilsen/Best regards
Verner Kjærsgaard
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] logrotate and crontab
- From: Rajko M.
- Re: [opensuse] logrotate and crontab
- References:
- [opensuse] logrotate and crontab
- From: Rejaine Monteiro
- Re: [opensuse] logrotate and crontab
- From: Kenneth Schneider
- [opensuse] logrotate and crontab
- Prev by Date: Re: [opensuse] Beagle Configuration
- Next by Date: [opensuse] Cant get syslog server my w/station to accept 514 connections for remote logging.
- Previous by thread: Re: [opensuse] logrotate and crontab
- Next by thread: Re: [opensuse] logrotate and crontab
- Index(es):
Relevant Pages
- Re: [SLE] cron question
... >> I've been to LDP, the SuSE admin manual, and a few other help pages. ...
the crontab ... > Check the headers for your unsubscription address ...
(SuSE) - [opensuse] logrotate and crontab
... I've been having a look on how crontab is setup on default Suse 9.2/10.0/10.1
servers, ... it's important for me because i want to schedule sarg at 2 pm and i want to be sure
that i always run logrotate (to rotate squid logs) exactly might. ... (SuSE) - SuSE Cron Question
... I've got some machines in my lab, and have migrated off Redhat 7.3 on to Suse
9.0 ... So far SuSE has been good, but I'm not quite sure how to automate my backups. ...
# End Redhat 7.3 modified crontab ... (alt.os.linux.suse) - Re: [SLE] cron for normal users
... > SuSe 9.0 pro with file settings secure. ... If the users tries to
install a crontab ... > I think this is a result of the file permission safe setting
in yast. ... (SuSE)