HomeFreeBSD

cron(8): set the environment variables of the user and/or login class

Description

cron(8): set the environment variables of the user and/or login class

Prior to processing environment variable set in the crontab file as those
should be of higher precedent, pull in the user or login class environment.

This is another supporting feature for allowing one to configure system-wide
settings that may affect both regular cron jobs as well as services.

This is the final part of D21481.

(cherry picked from commit 7466dbd684879cbe8d034f388f0c7da703e00c31)

Details

Provenance
andrew_tao173.riddles.org.ukAuthored on Feb 5 2020, 4:35 AM
kevansCommitted on Feb 4 2021, 3:14 AM
Parents
rGf7ba064978f8: service(8): set the environment of the "daemon" class before invoking
Branches
Unknown
Tags
Unknown