Commit Graph

13 Commits

Author SHA1 Message Date
perry 4cfab35c9c New feature: "?" for time specifications, means a single time selected at
random from within the range at file read time. Very useful if you
want to avoid having a fleet of machines melt a server by all trying to
contact it at a precise time every morning. See docs for details.

Reviewed by: christos, apb, vixie, others.

XXX apb suggests, quite reasonably, that ?10-16/2 should mean
something like 10,12,14,16 or 11,13,15. I'm too lazy to do it right
now, but it should be done.

XXX vixie suggests, quite reasonably, that if you're using "?" one
should delay randomly by 0-59 seconds. In the modern NTP world, you
could imagine that with a million well synchronized machines the
second just at the minute would be hit quite hard. I'm too lazy to do
it right now, but it should be done.

XXX cron needs to be updated to Vixie's cron 4.1 code.
2009-04-04 16:05:10 +00:00
matt f09665b707 Fix inconsistent prototype. Do some constification. 2008-02-16 07:26:00 +00:00
xtraeme 7e70b71d91 Kill __P(), use ANSI function declarations, constify; WARNS=3 2005-03-16 02:53:55 +00:00
enami 0790d0f46f Set DO[WM]_STAR if we mean `*' so that @yearly/@monthly/@weekly are
interpreted as documented/expected rather than "0 0 1 1 0-7" /
"0 0 1 * 0-7" / "0 0 1-31 * 0" respectively.  Fixes PR#24547.
2004-02-27 23:22:09 +00:00
jdolecek c98a00090a minor constification 2004-02-07 12:31:15 +00:00
enami f1fec63273 When @hourly is specified, set not just 23 but bit 0 through 22 also in
the bitstring e->hour.  Fixes PR#10961.
2000-09-13 04:07:34 +00:00
christos 9ac7be0692 Warnsify:
- add __RCSID
	- remove nested comments
	- remove register and auto keywords
	- change into posix signals
	- fix prototypes
1998-01-31 14:40:13 +00:00
mikel 2b8bc7438f RCSid police 1997-03-13 06:19:07 +00:00
thorpej c0fe650b17 Eliminate unsafe calls to strcpy() and sprintf(). 1996-12-16 22:30:43 +00:00
jtc 44fa25f9b7 Vixie Cron 3.0-release 1994-01-20 02:46:53 +00:00
jtc 2a22045ae0 Vixie Cron 3.0-prerelease, patch 11 1994-01-12 18:35:59 +00:00
jtc e59e4eb1ce Vixie Cron 3.0-prerelease, patch 10 1994-01-11 19:10:45 +00:00
jtc 644d4f8787 Vixie Cron 3.0-prerelease, patch 9 1994-01-05 20:40:12 +00:00