On Thu, May 15, 2014 at 11:51:13PM +0200, Lennart Poettering wrote:
> On Sun, 11.05.14 19:53, Alexander Bashmakov (pkunk...@gmail.com) wrote:
> 
> I am not convinced that this is really desirable. "daily" is just a
> short way to write "*-*-* 00:00:00". And if that is not desirable, then
> I'd just recommend writing "*-*-* 05:00:00"... I am not convinced we
> should allow redefining what "daily" resolves to...
In principle you're right, but this seems to be something that people
ask for, with cron. And with the usual setup where scripts are stored
in /etc/cron.{daily,weekly,...} is was trivial to adjust the date globally,
by modyfing the crontab entry which runs those directories. When switching
to systemd units as they are defined currently this convenience is lost.

I think it is reasonable request. This feature is backwards compatible,
and requires user intervention to activate, so I'd say we can redefine
"daily" not to necessarilly mean "midnight".

Zbyszek

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to