Bug#825890: systemd-cron: switch from Environment to EnvironmentFile

Alexandre Detiste alexandre.detiste at gmail.com
Thu Aug 25 08:31:29 BST 2016


control: tag -1 wontfix

Hi,

This would break some assumptions & usage patterns;
where the same environment variable is redified each time,
this would break compatibility with vixie-cron.
(BTW, the KDE cron editor tool always
sort lines and is broken regarding this)

Here's an example:

> PERSISTENT=false
> 30    20 * * 0-4 root echo "GO TO SLEEP" > /etc/nologin
> 55-59 20 * * 0-4 root /usr/bin/beep
> 0     21 * * 0-4 root /sbin/poweroff
> PERSISTENT=true
> 0 8 * * * root rm /etc/nologin -f -v

A separate EnvironmentFile for each .service
would be needed though if the var assignement
would includes weird characters that needed
to be escaped systemd-style.

Greets,


Sorry for delay, having a hard time learning how to manage
some mainframme application.

Alexandre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160825/2feaca31/attachment.html>


More information about the Pkg-systemd-maintainers mailing list