On Sun, 18 Jan 2015 14:08, dieter <d_werner@...> wrote:
Bug https://bugzilla.novell.com/show_bug.cgi?id=913421 made me aware that in my factory installation logrotate is also not running. I applied the workaround as described in the bugreport and I have the impression a systemd timer configured as OnCalendar=daily ist started exactly and only at midnight. Is this correct, I could not find documentation about this?
I just found systemd.time(7) which clarifies: daily -> *-*-* 00:00:00
This is probably not the desired replacement for cron.daily.
Dieter
The 'original' crontab entry for the suse implemented 'run-crons' (running of cron.{hourly,daily,weekly,monthly,yearly}) was this line: [code] -*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1 [/code] /usr/lib/cron/run-crons contains the logic to make sure calls are done, even when the machine was off at the 'normal' calling time. IMHO we should keep the calls to that, and just move the 'caller' from cron to systemd.timers the wanted line for that *.timer-unit-file would be: [code] # run every quarter hour. OnCalendar=*-*-* *:00,15,30,45:00 [/code] - Yamaban. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org