Hello SuSE people, Following the other interesting thread about chron leads me to a question. My machine is not usually on at 4:00 am. In the aforementioned thread it was stated that the cron will run at the next bootup. Does this show up in the bootlog or dmesg? I looked and there didn't seem to be anything about it. How can I tell? I really don't have any crons running except what I see in System Crontab to run the hourly and daily. What about /var/tmp ?? Lots of stuff there that is pretty old also. (3 months ?) (Cleaned it out manually about then because of a problem with KDE) Maybe I don't have all of the chron commands running ? I also seem to have an awful lot of files in /var/log. (6 mb) Whoops !! I guess that is another question unless it is chron that initiates changelog. C'mon SuSE people educate an old duffer ! Bob S.
Op zondag 8 mei 2005 06:58, schreef B. Stia:
I really don't have any crons running except what I see in System Crontab to run the hourly and daily. What about /var/tmp ?? Lots of stuff there that is pretty old also. (3 months ?) (Cleaned it out manually about then because of a problem with KDE) Maybe I don't have all of the chron commands running ?
I also seem to have an awful lot of files in /var/log. (6 mb) Whoops !! I guess that is another question unless it is chron that initiates changelog.
C'mon SuSE people educate an old duffer !
You can use sysconfig editor for that: -> /sbin/yast2 -> system -> sysconfig editor -> system -> cron Use the variables CLEAN .... TMP.... -- Richard Bos Without a home the journey is endless
The Sunday 2005-05-08 at 00:58 -0400, B. Stia wrote:
Following the other interesting thread about chron leads me to a question. My machine is not usually on at 4:00 am. In the aforementioned thread it was stated that the cron will run at the next bootup. Does this show up in the bootlog or dmesg? I looked and there didn't seem to be anything about it. How can I tell?
I haven't studied yet how it is done in SuSE 9.3, but if the behaviour is similar to what it was, it will run at the 15' mark after boot. It should show in the /var/log/messages file. May 2 10:12:09 nimrodel syslogd 1.4.1: restart. ... May 2 10:12:39 nimrodel /usr/sbin/cron[8014]: (CRON) STARTUP (V5.0) ... May 2 10:30:03 nimrodel fido_moderator monthly cron: Mmm, it was just chance that they showed there, it seems that usually nothing is logged; only if a particular your job needs it. We could perhaps modify the script to make sure something is logged. I'll think about it.
I really don't have any crons running except what I see in System Crontab to run the hourly and daily. What about /var/tmp ?? Lots of stuff there that is pretty old also. (3 months ?) (Cleaned it out manually about then because of a problem with KDE) Maybe I don't have all of the chron commands running ?
Logs should be cleared by logrotate. Temp files... there was a setting in yast somewhere. -- Cheers, Carlos Robinson
participants (3)
-
B. Stia
-
Carlos E. R.
-
Richard Bos