Page MenuHomeFreeBSD

Add "cron -n".

Authored by trasz on Aug 19 2016, 12:42 PM.



Add the "-n" flag to cron(8), to prevent it from daemonizing.
This makes it possible to use it with external supervisors, like
the one in The "-n" flag name
is compatible with Linux and NetBSD.

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

trasz retitled this revision from to Add "cron -n"..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)
jilles added a reviewer: jilles.
jilles added a subscriber: jilles.

Looks good to me. Make sure to update .Dd in cron.8 when committing.

This revision is now accepted and ready to land.Aug 19 2016, 1:45 PM
pfg edited edge metadata.

Looks very neat.

wblock added inline comments.
137 ↗(On Diff #19489)

Avoid contractions.
The semicolon is questionable, could be replaced with a comma or just split the sentence there.

Do not daemonize, run in foreground instead.
This revision was automatically updated to reflect the committed changes.