crontrol: tag -1 fixed-upstream
Dear,
Thanks for caring,
Your feature request has been implemented upstream:
https://github.com/systemd-cron/systemd-cron/commit/e47e557820636905945b4bf5ff920339e259fbd5
As the repository is in the middle of a major rewrite,
a new release won't be published right away.
Le dim. 9 juil. 2023 à 11:57, <[email protected]> a écrit :
> The /etc/crontab files allow to define environment variables (MAILTO among
> others) as per the man page.
> This definition should be applied to all the cron definitions as a fallback.
>
> The generator from this package parses /etc/crontab to identify jobs for
> generating the associated systemd units.
> When parsing files in cron.d, the MAILTO is inserted as Environment if
> explicitly defined.
> But if it not defined, the generator does not include the fallback value from
> the /etc/crontab file.
>
> The generator should parse /etc/crontab, retrieve MAILTO and maybe PATH or
> other env variables,
> and pass this fallback to the parsing of each file in cron.d or user crontabs.