[Nix-dev] cron PATH
Mathijs Kwik
mathijs at bluescreen303.nl
Sun Aug 26 15:15:05 CEST 2012
On Sun, Aug 26, 2012 at 3:12 PM, Michael Raskin <7c6f434c at mail.ru> wrote:
>>Hrm, I see that adding /var/setuid-wrappers is somewhat impure, as the
>>current paths point to absolute directories in the nix store.
>>
>>I'll just have the cronjob output to stdout for now, so normal cron
>>handling picks it up for email.
>>However, it would be nice to have _some_ jobs send their outputs to
>>different recipients than the cron-default one, so if anyone can think
>>of a better solution, please let me know.
>
> You can just create a cron job that sets the needed environment on its
> own.
Yes, that's possible, but as I'm creating a nix module, I don't think
defaulting to an impure cronjob is the way to go.
>
>
>
More information about the nix-dev
mailing list