]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Handle the cron.d entry for MK_AT in cron conditionally
authorEnji Cooper <ngie@FreeBSD.org>
Thu, 18 May 2017 06:25:39 +0000 (06:25 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Thu, 18 May 2017 06:25:39 +0000 (06:25 +0000)
commit94af8db1e978eeea36ce6a0a5b16c325d40b8fc5
tree7bcece20213e0e0da89b8986cc22c9ba21fe34c8
parent5c63f26129665311272aac2b5ab42b3f10473b6a
Handle the cron.d entry for MK_AT in cron conditionally

Install /etc/cron.d/at if MK_AT != no, always using it, which tries
to run a non-existent program via cron(8) every 5 minutes with the
default /etc/crontab, prior to this commit.

SHELL and PATH are duplicated between /etc/crontab and /etc/cron.d/at
because atrun(8) executes programs, which may rely on environment
currently set via /etc/crontab.

Noted by: bdrewery (in an internal review)
MFC after: 2 months
Relnotes: yes (may need to add environmental modifications to
     /etc/cron.d/at)
Sponsored by: Dell EMC Isilon
etc/Makefile
etc/cron.d/Makefile [new file with mode: 0644]
etc/cron.d/at [new file with mode: 0644]
etc/crontab