-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2008-06-16 at 08:11 -0500, Jim Flanagan wrote:
Have a look here: "/etc/cron.daily/".
And also look at the DAILY_TIME variable in /etc/sysconfig/cron
OK, I see a file named /etc/cron.daily/suse.de-rkhunter but I see no references to a time to run. In /etc/sysconfig/cron DAILY_TIME is set at "blank" meaning defaults which is nothing.
Correct. Well, it means "I don't care when exactly it runs".
IIRC Rkhunter was setup to run at a certain time (set up by itself at installation of the opensuse rpm), say 0830. If I had the machine off during that time, it would run shortly after boot, unless it had already previously run that day. Once it ran at that later time, it would continue to run at that later time every day (again unless the machine happened to be off at that time in which case it would run at boot again).
Looking more closely at suse.de-rkhunter I see an entry where it should check /var/tmp/rkhunter-cron.XXXXX, but I don't see this file in /var/tmp/.
Don't worry.
I do see a way to make it update itself (DB I suppose, not version) by setting CRON_DB_UPDATE="yes" from the default "no". Haven't treid that yet though. One thing at a time.
Ok... the scripts that are in the "/etc/cron.daily/" are meant to run once a day, but the time of running is not important at all. Just once a day, that's all that matters. So, once it runs at certain time, it will run the next time at about the same time. It the machine is off, then it will run soon after you power it up again. Now, if you want those tasks to run at an approximate hour everyday, you have the variable "DAILY_TIME". If the machine is not up at that time, it will wait till the next day it is powered up at that time. However, if it is never on at that time, it will wait 5 days and then run as soon as it can (you can modify that 5 days limit, to a maximum of 14). Then you see there are other directories for scripts to run hourly, weekly, and monthly. Why all this complexity? Because many machines are not up 24/7, and the system has to work for a variety of situations. If your machine is up 24/7, simply choose a time and write it to DAILY_TIME. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIVsentTMYHG2NR9URAnfeAJ9MYHsBXV5DrBTx63Y/Hj7wwZiK5wCfaMql TlWRbDllmdOZTRSNgpYCH6g= =I0AC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org