Commit Graph

7 Commits

Author SHA1 Message Date
ngie
51c5d0078d Conditionally handle the crontab entry for atrun(8)
The default crontab prior to this commit assumes atrun(8) is always
present, which isn't true if MK_AT == no. Move atrun(8) execution
from /etc/crontab to /etc/cron.d/at, and base /etc/cron.d/at's installation
on MK_AT. cron(8) will detect /etc/cron.d/at's presence when the configuration
is loaded and run atrun every 5 minutes like it would 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
set in the current default /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
2017-05-18 06:33:55 +00:00
ngie
afb9f8a364 Revert r318441: the commit message was incoherent 2017-05-18 06:27:37 +00:00
ngie
30021f637f 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
2017-05-18 06:25:39 +00:00
pst
bb51ac6cd1 Goodbye, cron.d 1997-08-16 17:06:59 +00:00
adam
501e9d334a line continuation 1997-08-12 23:11:24 +00:00
pst
f035c0913b Activate make distribute and pray I didn't break release building. 1997-08-12 18:23:29 +00:00
pst
a671e01be7 Initial import of the replacements for /etc/{daily, weekly, monthly}.
Please note: I'm not activating this until I successfully get the changes
back into my local CVS repository to do one final check.  Early adopters
are welcome to send comments.
1997-08-12 17:51:16 +00:00