Page MenuHomeFreeBSD

Add "cron -n".
ClosedPublic

Authored by trasz on Aug 19 2016, 12:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 6, 10:28 PM
Unknown Object (File)
Fri, Mar 22, 6:32 PM
Unknown Object (File)
Fri, Mar 22, 10:44 AM
Unknown Object (File)
Fri, Mar 22, 9:45 AM
Unknown Object (File)
Mar 9 2024, 2:10 PM
Unknown Object (File)
Mar 4 2024, 12:15 AM
Unknown Object (File)
Feb 16 2024, 7:37 AM
Unknown Object (File)
Feb 12 2024, 4:43 AM
Subscribers

Details

Summary

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 https://reviews.freebsd.org/D7474. The "-n" flag name
is compatible with Linux and NetBSD.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
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.
usr.sbin/cron/cron/cron.8
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.