As cron(8) is started with '-s' by default, timezones that observe

DST should not need to worry about scheduling jobs when the DST time
changes.

Rather than removing the BUGS section in crontab(5) regarding this,
note that disabling '-s' may still cause jobs to be executed twice or
not at all.

PR:		166318
Submitted by:	Florian k Unglaub (f.unglaub%googlemail!com)
MFC After:	1 week
This commit is contained in:
Glen Barber 2012-04-28 22:48:00 +00:00
parent 6af850068c
commit f85ad80c6f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234775

View File

@ -17,7 +17,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd January 28, 2012
.Dd April 28, 2012
.Dt CRONTAB 5
.Os
.Sh NAME
@ -296,10 +296,21 @@ are extensions.
.An Paul Vixie Aq paul@vix.com
.Sh BUGS
If you are in one of the 70-odd countries that observe Daylight
Savings Time, jobs scheduled during the rollback or advance will be
affected.
Savings Time, jobs scheduled during the rollback or advance may be
affected if
.Xr cron 8
is not started with the
.Fl s
flag.
In general, it is not a good idea to schedule jobs during
this period.
this period if
.Xr cron 8
is not started with the
.Fl s
flag, which is enabled by default.
See
.Xr cron 8
for more details.
.Pp
For US timezones (except parts of AZ and HI) the time shift occurs at
2AM local time.