summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron
Commit message (Collapse)AuthorAgeFilesLines
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+1
| | | | | | | | 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
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* Ensure that edits that do not span a clock tick are not lost.dds2004-09-142-6/+15
| | | | | | PR: bin/22612 MT5: 4 weeks MT4: 2 weeks
* Refactoring: move two similar code blocks into a seprate function.dds2004-09-131-47/+31
|
* Fix for the following behavior:dds2004-09-131-4/+6
| | | | | | | | | | | | | $ 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.
* Mechanically kill hard sentence breaks.ru2004-07-022-26/+54
|
* Trim whitespace at EOL.ru2004-06-041-2/+2
|
* Markup nits.ru2004-06-041-2/+2
|
* Add two new options to cron(8), -J and -j. They allow to specifyyar2004-05-164-2/+50
| | | | | | | | | | | the maximum amount of time jitter for root and other users, respectively. Before starting a job, cron(8) will sleep a random number of seconds, from 0 to the amount specified. This can help to smooth down load spikes when a lot of jobs are to start at the beginning of a particular minute (e.g., the first minute of an hour.) PR: bin/66474 Submitted by: Dmitry Morozovsky <marck <@> rinet.ru>
* Eliminate hard sentence breaks.trhodes2004-03-041-8/+19
| | | | General markup fixes (use the .Dq macro).
* Discuss the 'MAILTO' option.trhodes2004-01-121-1/+5
| | | | | PR: 58783 Submitted by: Marc Silver <marcs@draenor.org>
* Mention the fact that our crontab is not fully POSIX.2 conform, becauseharti2003-10-241-2/+7
| | | | | it doesn't allow the dangerous variant of calling it without any argument.
* Fix a coredump that would occur when fdopen was unable tosilby2003-06-191-1/+2
| | | | | | | | return a valid fd. PR: 49096 Submitted by: demon MFC after: 3 days
* Allow inner whitespace in the right-hand side of an environment variablethomas2003-02-101-10/+17
| | | | | | | | assignment even if it is not quoted (as advertised by the man page). This fixes a regression wrt RELENG_4 introduced in rev. 1.11. Problem noted and patch tested by: CHOI Junho <cjh@kr.FreeBSD.org> Reviewed by: roberto
* english(4) police.schweikh2002-12-271-1/+1
|
* Actually use the exitstatus value that we maintain.dd2002-10-011-1/+1
| | | | | PR: 43562 Submitted by: Marc Olzheim <marcolz@ilse.nl>
* Never allow a user to use crontab if opening /var/cron/{allow,deny} failstjr2002-08-041-16/+23
| | | | | | | | for any reason other than ENOENT (think resource limits). Close allow and deny files before allowed() returns to stop the user's EDITOR being able to read them. Obtained from: OpenBSD (partially)
* The .Nm utilitycharnier2002-07-141-7/+12
|
* load_env(), the function that attempts to parse a crontabroberto2002-05-231-23/+76
| | | | | | | | | | | line as an environment variable assignment, is broken and not conformant to its description in the manual page. I think it is worthwhile to have that fix in 4.6. PR: bin/38374 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org> MFC after: 2 days
* Mark all internal libraries with INTERNALLIB.ru2002-05-131-5/+1
|
* Use `The .Nm utility'charnier2002-04-201-2/+3
|
* Only remove the '\n' at the end of a line if there is one.dwmalone2002-04-101-1/+2
| | | | | | | | I missed this as part of the fix to the PR below. PR: 31265 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net> MFC after: 1 week
* Be a bit more verbose. "modtime" means nothing.keramida2002-03-241-6/+6
| | | | | | "modification time" is a lot better. MFC after: 3 days
* Grammar fix: "When at least one of the fields .. matches ...".keramida2002-03-241-1/+1
| | | | MFC after: 3 days
* Describe the format of the allow and deny files. This is more-or-lessdwmalone2002-03-171-0/+4
| | | | | | | | | 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
* Make cron actually build without defining LOGIN_CAP.bbraun2002-02-061-1/+1
| | | | Reviewed by: jkh
* Document the -x debugging option.ru2002-01-161-4/+25
| | | | | PR: docs/33784 Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
* Fix the @monthly and @weekly shortcuts so that they actually runmikeh2001-08-161-0/+3
| | | | | | | | monthly and weekly, respectively. Also fix the @yearly shortcut so that it doesn't execute daily during January. OpenBSD and NetBSD also appear to have this bug. PR: bin/21152
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-5/+20
|
* mdoc(7) police: fixed the "new sentence" bogons.ru2001-08-101-1/+1
|
* fix misspelling introduced in rev 1.14 (sames as -> same as)billf2001-07-251-1/+1
|
* Fix a possible NULL reference that would be triggereddavidn2001-07-201-1/+2
| | | | | | by invalid input in /etc/crontab. MFC after: 2 days
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-205-13/+21
| | | | | 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.
* Remove an unused variable, and don't try to print a char[] using %d.dd2001-07-181-2/+2
| | | | Submitted by: Mark Peek <mark@whistle.com>
* free_entry(): Don't free e->envp if it's already NULL; likewise fordd2001-07-181-4/+4
| | | | | | | | | | | | | | | | e->cmd. free_entry() now does the right thing with partially-initialized structures. load_entry(): Don't call env_free() on e->envp throughout the routine before jumping to eof; the free_entry() call at that label will take care of it. The previous behavior resulted in e->envp being free'd twice (well, the second time would usually result in a crash, but that's besides the point); once in load_entry(), and once in free_entry() after the former called the latter. Also note that the check added to free_entry() (above) doesn't help, since e->envp wasn't reset to NULL after env_free(). Submitted by: Mark Peek <mark@whistle.com>
* Remove whitespace at EOL.dd2001-07-152-13/+13
|
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Where is the pointy hat? Fix cut/paste error. (hey, it compiled! :-)peter2001-06-161-1/+1
|
* Plug two memory leaks: call login_close() after login_getclass(), anddd2001-06-131-2/+6
| | | | | | | use free_entry() instead of free() to free a struct _entry. PR: 28108 Submitted by: Mark Peek <mark@whistle.com>
* Remove the 'DO NOT EDIT THIS FILE' crud that we spit out with 'crontab -l'.peter2001-04-131-1/+19
| | | | | 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.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-262-2/+2
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* Stop cron from shouting in the syslog. Use setproctitle() instead, sincepeter2001-03-171-6/+1
| | | | | | | smashing argv[0] doesn't have the intended effect of changing the ps(1) output these days. PR: 25850
* mdoc(7) police revision 1.15:ru2001-03-091-10/+9
| | | | | | - replaced Oo/Oc enclosures with Op; - removed hard sentence breaks; - removed doubled space.
* The new version of the daylight time saving support. This time it worksbabkin2001-03-093-5/+182
| | | | | for any change of the time zone offset from GMT. To enable use the option -s.
* Properly detach at startup. We could be passing revoked fd's topeter2001-03-071-12/+2
| | | | | child processes or starting children with no fd 0 (stdin) at all etc. This is currently breaking on hub.freebsd.org.
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | Seperate does not exist in the english language.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+4
|
* Backed out the DST support changes.babkin2001-01-233-173/+7
|
* mdoc(7) police: ``Ds'' is not certified (no macro with such name exist)ru2001-01-221-1/+1
| | | | | | to be used as the -width parameter, it is provided solely for backwards compatibility with old mdoc(7). To make this work, mdocNG is forced to provide a dummy ``Ds'' macro.
OpenPOWER on IntegriCloud