brueffer
c50c381ddc
List /var/cron/tabs in FILES and add descriptions for the other entries.
...
PR: 145912
Submitted by: Julian H. Stacey <jhs@berklix.com>
Obtained from: OpenBSD
MFC after: 1 week
2010-05-14 01:25:30 +00:00
skv
7457414ec0
Fix typo.
...
Approved by: ru
2008-12-01 17:39:34 +00:00
matteo
3c521d56fa
Be more precise and use sizeof(tn)
...
Pointed out by: glewis@
MFC after: 3 days
2008-11-18 00:39:50 +00:00
matteo
d4072625e6
Use WARNS?= instead of WARNS=
...
MFC after: 3 days
2008-11-18 00:12:15 +00:00
matteo
79b0ca8da7
Make usr.sbin/cron/crontab and usr.sbin/cron/lib WARNS=3 clean
...
Tested with: make universe
MFC after: 3 days
2008-11-10 06:35:30 +00:00
matteo
43e6672f4c
Revert to previous revision.
...
I should not commit anything at 3.50 AM.
In addition to danfe's comments, I got others.
I'll work on a better version of the patch.
2008-11-09 09:01:09 +00:00
matteo
21b9f8808f
Don't leave files in /var/cront/tabs when interrupted
...
PR: 17363
MFC after: 3 days
2008-11-09 07:34:11 +00:00
matteo
d820425919
Be paranoid and use snprintf
...
PR: bin/122137
Submitted by: Steven Kreuzer <skreuzer@exit2shell.com>
MFC after: 3 days
2008-11-09 06:44:53 +00:00
matteo
f1225346f4
Be paranoid and zero out passwd
...
PR: 122070
Submitted by: Steven Kreuzer <skreuzer@exit2shell.com>
Reminded by: gnn@
MFC after: 3 days
2008-11-06 04:53:02 +00:00
kevlo
fa3791e1a7
Cleanup of userland __P use
2007-11-07 10:53:41 +00:00
ru
27ee15c183
Use a #define to refer to /etc/crontab.
2006-09-03 17:52:19 +00:00
brooks
81ed190221
/etc/crontab is similar enough to parse as correct if you run
...
"crontab /etc/crontab", but not the same format due to the who field.
Add some limited anti-foot-shooting support and refuse to load
/etc/crontab as someone's crontab. Users wishing shoot their foot in
this manner may copy /etc/crontab elsewhere. :)
MFC After: 1 week
2006-01-10 05:56:32 +00:00
brueffer
a4887954f7
Mention the default value of PATH and that it may be overridden.
...
Submitted by: Roman Divacky
MFC after: 3 days
2005-07-31 13:41:23 +00:00
ru
6b6b8c04f6
Expand contractions.
2005-02-13 23:45:54 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
c05985f13f
Sort sections.
2005-01-18 20:02:45 +00:00
ru
f0fbc30e0d
Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar
...
to PRECIOUSLIB from bsd.lib.mk. The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.
Reviewed by: oliver
2004-11-03 18:01:21 +00:00
dds
19e905d90f
Ensure that edits that do not span a clock tick are not lost.
...
PR: bin/22612
MT5: 4 weeks
MT4: 2 weeks
2004-09-14 19:01:19 +00:00
dds
24d594eda7
Refactoring: move two similar code blocks into a seprate function.
2004-09-13 21:04:30 +00:00
dds
0caca34c52
Fix for the following behavior:
...
$ crontab -e
[Add an entry with an error in the crontab file.]
crontab: errors in crontab file, can't install
Do you want to retry the same edit? yes
[Exit the editor without any changes.]
crontab: no changes made to crontab
[Entry is lost.]
Now crontab will loop until the error is fixed, or the
user answers no.
2004-09-13 18:39:04 +00:00
ru
6294018a20
Mechanically kill hard sentence breaks.
2004-07-02 23:13:00 +00:00
ru
99db664fda
Trim whitespace at EOL.
2004-06-04 19:24:21 +00:00
ru
3d43f7de86
Markup nits.
2004-06-04 19:23:12 +00:00
trhodes
fe6ec445c7
Eliminate hard sentence breaks.
...
General markup fixes (use the .Dq macro).
2004-03-04 19:12:27 +00:00
trhodes
17c8306530
Discuss the 'MAILTO' option.
...
PR: 58783
Submitted by: Marc Silver <marcs@draenor.org>
2004-01-12 20:20:29 +00:00
harti
0d82acd1ef
Mention the fact that our crontab is not fully POSIX.2 conform, because
...
it doesn't allow the dangerous variant of calling it without any
argument.
2003-10-24 13:02:39 +00:00
schweikh
fec6546e12
english(4) police.
2002-12-27 12:15:40 +00:00
dd
2d81e48acc
Actually use the exitstatus value that we maintain.
...
PR: 43562
Submitted by: Marc Olzheim <marcolz@ilse.nl>
2002-10-01 22:59:11 +00:00
charnier
fdbc3fd42a
Use `The .Nm utility'
2002-04-20 12:27:18 +00:00
keramida
3dcdc645eb
Grammar fix: "When at least one of the fields .. matches ...".
...
MFC after: 3 days
2002-03-24 00:48:07 +00:00
dwmalone
81e7919936
Describe the format of the allow and deny files. This is more-or-less
...
the patch Matthew submitted, but I broke the lines in a more FreeBSD
way and made one small wording change.
PR: 31265
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
MFC after: 3 weeks
2002-03-17 14:03:17 +00:00
ru
24c7b0a61d
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
ru
7221cd94bd
mdoc(7) police: fixed the "new sentence" bogons.
2001-08-10 15:03:10 +00:00
billf
6cfdb0f461
fix misspelling introduced in rev 1.14 (sames as -> same as)
2001-07-25 04:13:01 +00:00
obrien
9c97c8f02d
Perform a major cleanup of the usr.sbin Makefiles.
...
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
brian
8636b161b3
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
peter
c4b28e836b
Where is the pointy hat? Fix cut/paste error. (hey, it compiled! :-)
2001-06-16 03:16:52 +00:00
peter
d74956ff51
Remove the 'DO NOT EDIT THIS FILE' crud that we spit out with 'crontab -l'.
...
Otherwise, "crontab -l > file; vi file; crontab file" adds an extra set
of "DO NOT EDIT" markers each and every time which is a bit silly.
2001-04-13 01:45:22 +00:00
ru
afd506414e
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
ru
8ad24f0a49
mdoc(7) police: removed leading whitespaces that are not inside
...
Bd/Ed; these hardly degrade the quality of the produced output.
2001-01-19 14:15:40 +00:00
obrien
c2ee1dcc02
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
ru
71e2293ad4
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
ru
a6f5d950d8
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
dwmalone
10728d93bc
Attempt to fix problem with users being able to convince the crontab
...
program to read any file which is a valid crontab file.
The fix is based on that used in NetBSD and OpenBSD - we keep the
file open while the user is editing it. This means that files must
be edited in place. Cron attempts to warn you if your editor does
not do this. The fact that the file must be edited in place is also
noted in the man page.
This patch has been confirmed to work by atleast one person on
-security and has been tested locally.
Obtained from: OpenBSD
2000-11-06 11:17:37 +00:00
paul
71e06852db
Since -e and -r are right next to each other prompt before clobbering
...
a crontab you were planning to edit.
2000-10-15 00:35:34 +00:00
sheldonh
4cca06398e
Revive rev 1.12 (NetBSD improvements including @ shortcuts).
2000-03-14 14:51:55 +00:00
sheldonh
3b110e37c6
Back out previous commit. The code is not ready for it.
2000-03-13 19:13:48 +00:00
sheldonh
f528d8970c
Merge in NetBSD improvements:
...
* Clarify quoting value in of name = value pairs.
* Describe the @reboot, @yearly, @annually, @monthly, @weekly,
@daily, @midnight and @hourly extensions.
PR: 17261
Submitted by: MIHIRA Yoshiro <sanpei@sanpei.org>
Obtained from: NetBSD
2000-03-08 11:48:01 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00