xref: /freebsd/usr.sbin/cron/crontab/crontab.5 (revision 89c7bb561344767c6e3fa925553675145b1540f7)
184f33deaSJordan K. Hubbard.\"/* Copyright 1988,1990,1993,1994 by Paul Vixie
284f33deaSJordan K. Hubbard.\" * All rights reserved
384f33deaSJordan K. Hubbard.\" *
484f33deaSJordan K. Hubbard.\" * Distribute freely, except: don't remove my name from the source or
584f33deaSJordan K. Hubbard.\" * documentation (don't take credit for my work), mark your changes (don't
684f33deaSJordan K. Hubbard.\" * get me blamed for your possible bugs), don't alter or remove this
784f33deaSJordan K. Hubbard.\" * notice.  May be sold if buildable source is provided to buyer.  No
884f33deaSJordan K. Hubbard.\" * warrantee of any kind, express or implied, is included with this
984f33deaSJordan K. Hubbard.\" * software; use at your own risk, responsibility for damages (if any) to
1084f33deaSJordan K. Hubbard.\" * anyone resulting from the use of this software rests entirely with the
1184f33deaSJordan K. Hubbard.\" * user.
1284f33deaSJordan K. Hubbard.\" *
1384f33deaSJordan K. Hubbard.\" * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
1484f33deaSJordan K. Hubbard.\" * I'll try to keep a version up to date.  I can be reached as follows:
1584f33deaSJordan K. Hubbard.\" * Paul Vixie          <paul@vix.com>          uunet!decwrl!vixie!paul
1684f33deaSJordan K. Hubbard.\" */
1784f33deaSJordan K. Hubbard.\"
1897d92980SPeter Wemm.\" $FreeBSD$
1984f33deaSJordan K. Hubbard.\"
20*89c7bb56SKyle Evans.Dd March 29, 2020
21401e6468SPhilippe Charnier.Dt CRONTAB 5
22401e6468SPhilippe Charnier.Os
23401e6468SPhilippe Charnier.Sh NAME
24401e6468SPhilippe Charnier.Nm crontab
25401e6468SPhilippe Charnier.Nd tables for driving cron
26401e6468SPhilippe Charnier.Sh DESCRIPTION
2784f33deaSJordan K. HubbardA
28401e6468SPhilippe Charnier.Nm
2984f33deaSJordan K. Hubbardfile contains instructions to the
30401e6468SPhilippe Charnier.Xr cron 8
3184f33deaSJordan K. Hubbarddaemon of the general form: ``run this command at this time on this date''.
3284f33deaSJordan K. HubbardEach user has their own crontab, and commands in any given crontab will be
3307bfccd7SRuslan Ermilovexecuted as the user who owns the crontab.
3407bfccd7SRuslan ErmilovUucp and News will usually have
3584f33deaSJordan K. Hubbardtheir own crontabs, eliminating the need for explicitly running
36401e6468SPhilippe Charnier.Xr su 1
3784f33deaSJordan K. Hubbardas part of a cron command.
38401e6468SPhilippe Charnier.Pp
3907bfccd7SRuslan ErmilovBlank lines and leading spaces and tabs are ignored.
4007bfccd7SRuslan ErmilovLines whose first
4184f33deaSJordan K. Hubbardnon-space character is a pound-sign (#) are comments, and are ignored.
4284f33deaSJordan K. HubbardNote that comments are not allowed on the same line as cron commands, since
4307bfccd7SRuslan Ermilovthey will be taken to be part of the command.
4407bfccd7SRuslan ErmilovSimilarly, comments are not
4584f33deaSJordan K. Hubbardallowed on the same line as environment variable settings.
46401e6468SPhilippe Charnier.Pp
4784f33deaSJordan K. HubbardAn active line in a crontab will be either an environment setting or a cron
4807bfccd7SRuslan Ermilovcommand.
4907bfccd7SRuslan ErmilovAn environment setting is of the form,
50c5083414SRuslan Ermilov.Bd -literal
5184f33deaSJordan K. Hubbard    name = value
52c5083414SRuslan Ermilov.Ed
53401e6468SPhilippe Charnier.Pp
5484f33deaSJordan K. Hubbardwhere the spaces around the equal-sign (=) are optional, and any subsequent
5584f33deaSJordan K. Hubbardnon-leading spaces in
56401e6468SPhilippe Charnier.Em value
5784f33deaSJordan K. Hubbardwill be part of the value assigned to
58401e6468SPhilippe Charnier.Em name .
5984f33deaSJordan K. HubbardThe
60401e6468SPhilippe Charnier.Em value
6184f33deaSJordan K. Hubbardstring may be placed in quotes (single or double, but matching) to preserve
6284f33deaSJordan K. Hubbardleading or trailing blanks.
63c3e1da6bSSheldon HearnThe
64c3e1da6bSSheldon Hearn.Em name
65c3e1da6bSSheldon Hearnstring may also be placed in quote (single or double, but matching)
6657bd0fc6SJens Schweikhardtto preserve leading, trailing or inner blanks.
67401e6468SPhilippe Charnier.Pp
6884f33deaSJordan K. HubbardSeveral environment variables are set up
6984f33deaSJordan K. Hubbardautomatically by the
70401e6468SPhilippe Charnier.Xr cron 8
7184f33deaSJordan K. Hubbarddaemon.
72401e6468SPhilippe Charnier.Ev SHELL
73401e6468SPhilippe Charnieris set to
74401e6468SPhilippe Charnier.Pa /bin/sh ,
75401e6468SPhilippe Charnierand
76401e6468SPhilippe Charnier.Ev LOGNAME
77401e6468SPhilippe Charnierand
78401e6468SPhilippe Charnier.Ev HOME
79401e6468SPhilippe Charnierare set from the
80401e6468SPhilippe Charnier.Pa /etc/passwd
8184f33deaSJordan K. Hubbardline of the crontab's owner.
827466dbd6SKyle EvansIn addition, the environment variables of the
83*89c7bb56SKyle Evansuser's login class will be set from
847466dbd6SKyle Evans.Pa /etc/login.conf.db
857466dbd6SKyle Evansand
867466dbd6SKyle Evans.Pa ~/.login_conf .
87*89c7bb56SKyle Evans(A setting of
88*89c7bb56SKyle Evans.Ev HOME
89*89c7bb56SKyle Evansin the login class will override the value from
90*89c7bb56SKyle Evans.Pa /etc/passwd ,
91*89c7bb56SKyle Evansbut will not change the current directory when the command is
92*89c7bb56SKyle Evansinvoked, which can only be overridden with an explicit setting of
93*89c7bb56SKyle Evans.Ev HOME
94*89c7bb56SKyle Evanswithin the crontab file itself.)
95*89c7bb56SKyle EvansIf
96*89c7bb56SKyle Evans.Ev PATH
97*89c7bb56SKyle Evansis not set by any other means, it is defaulted to
98*89c7bb56SKyle Evans.Pa /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin .
9948193882SChristian Brueffer.Ev HOME ,
10048193882SChristian Brueffer.Ev PATH
101401e6468SPhilippe Charnierand
1027466dbd6SKyle Evans.Ev SHELL ,
1037466dbd6SKyle Evansand any variables set from the login class,
104401e6468SPhilippe Charniermay be overridden by settings in the crontab;
105401e6468SPhilippe Charnier.Ev LOGNAME
106401e6468SPhilippe Charniermay not.
107401e6468SPhilippe Charnier.Pp
108401e6468SPhilippe Charnier(Another note: the
109401e6468SPhilippe Charnier.Ev LOGNAME
110401e6468SPhilippe Charniervariable is sometimes called
111401e6468SPhilippe Charnier.Ev USER
112753d686dSRuslan Ermilovon
113753d686dSRuslan Ermilov.Bx
114753d686dSRuslan Ermilovsystems...
115c75526d5SRuslan ErmilovOn these systems,
116401e6468SPhilippe Charnier.Ev USER
117401e6468SPhilippe Charnierwill be set also).
118401e6468SPhilippe Charnier.Pp
119*89c7bb56SKyle EvansIf
120401e6468SPhilippe Charnier.Xr cron 8
121*89c7bb56SKyle Evanshas any reason to send mail as a result of running commands in
122*89c7bb56SKyle Evans``this'' crontab, it will respect the following settings which may be
123*89c7bb56SKyle Evansdefined in the crontab (but which are not taken from the login class).
12407bfccd7SRuslan ErmilovIf
125401e6468SPhilippe Charnier.Ev MAILTO
126401e6468SPhilippe Charnieris defined (and non-empty), mail is
1278030199cSTom Rhodessent to the user so named.
12812455a9eSKyle EvansIf
12912455a9eSKyle Evans.Ev MAILFROM
13012455a9eSKyle Evansis defined (and non-empty), its value will be used as the from address.
1318030199cSTom Rhodes.Ev MAILTO
1328030199cSTom Rhodesmay also be used to direct mail to multiple recipients
133637fd955SSergey Skvortsovby separating recipient users with a comma.
1348030199cSTom RhodesIf
135401e6468SPhilippe Charnier.Ev MAILTO
136401e6468SPhilippe Charnieris defined but empty (MAILTO=""), no
13707bfccd7SRuslan Ermilovmail will be sent.
13807bfccd7SRuslan ErmilovOtherwise mail is sent to the owner of the crontab.
13907bfccd7SRuslan ErmilovThis
140401e6468SPhilippe Charnieroption is useful if you decide on
141401e6468SPhilippe Charnier.Pa /bin/mail
142401e6468SPhilippe Charnierinstead of
143401e6468SPhilippe Charnier.Pa /usr/lib/sendmail
144401e6468SPhilippe Charnieras
145401e6468SPhilippe Charnieryour mailer when you install cron --
146401e6468SPhilippe Charnier.Pa /bin/mail
1470227791bSRuslan Ermilovdoes not do aliasing, and UUCP
1480227791bSRuslan Ermilovusually does not read its mail.
149401e6468SPhilippe Charnier.Pp
15084f33deaSJordan K. HubbardThe format of a cron command is very much the V7 standard, with a number of
15107bfccd7SRuslan Ermilovupward-compatible extensions.
15207bfccd7SRuslan ErmilovEach line has five time and date fields,
1530435c150SAndrey A. Chernovfollowed by a user name
1540435c150SAndrey A. Chernov(with optional ``:<group>'' and ``/<login-class>'' suffixes)
1550435c150SAndrey A. Chernovif this is the system crontab file,
15607bfccd7SRuslan Ermilovfollowed by a command.
15707bfccd7SRuslan ErmilovCommands are executed by
158401e6468SPhilippe Charnier.Xr cron 8
15984f33deaSJordan K. Hubbardwhen the minute, hour, and month of year fields match the current time,
160401e6468SPhilippe Charnier.Em and
16184f33deaSJordan K. Hubbardwhen at least one of the two day fields (day of month, or day of week)
1624188e025SGiorgos Keramidasmatches the current time (see ``Note'' below).
163401e6468SPhilippe Charnier.Xr cron 8
16484f33deaSJordan K. Hubbardexamines cron entries once every minute.
16584f33deaSJordan K. HubbardThe time and date fields are:
166401e6468SPhilippe Charnier.Bd -literal -offset indent
16784f33deaSJordan K. Hubbardfield         allowed values
16884f33deaSJordan K. Hubbard-----         --------------
16984f33deaSJordan K. Hubbardminute        0-59
17084f33deaSJordan K. Hubbardhour          0-23
171043c578eSMike Pritchardday of month  1-31
172043c578eSMike Pritchardmonth         1-12 (or names, see below)
17384f33deaSJordan K. Hubbardday of week   0-7 (0 or 7 is Sun, or use names)
174401e6468SPhilippe Charnier.Ed
175401e6468SPhilippe Charnier.Pp
17684f33deaSJordan K. HubbardA field may be an asterisk (*), which always stands for ``first\-last''.
177401e6468SPhilippe Charnier.Pp
17807bfccd7SRuslan ErmilovRanges of numbers are allowed.
17907bfccd7SRuslan ErmilovRanges are two numbers separated
18007bfccd7SRuslan Ermilovwith a hyphen.
18107bfccd7SRuslan ErmilovThe specified range is inclusive.
18207bfccd7SRuslan ErmilovFor example,
18384f33deaSJordan K. Hubbard8-11 for an ``hours'' entry specifies execution at hours 8, 9, 10
18484f33deaSJordan K. Hubbardand 11.
185401e6468SPhilippe Charnier.Pp
18607bfccd7SRuslan ErmilovLists are allowed.
18707bfccd7SRuslan ErmilovA list is a set of numbers (or ranges)
18807bfccd7SRuslan Ermilovseparated by commas.
18907bfccd7SRuslan ErmilovExamples: ``1,2,5,9'', ``0-4,8-12''.
190401e6468SPhilippe Charnier.Pp
19107bfccd7SRuslan ErmilovStep values can be used in conjunction with ranges.
19207bfccd7SRuslan ErmilovFollowing
19384f33deaSJordan K. Hubbarda range with ``/<number>'' specifies skips of the number's value
19407bfccd7SRuslan Ermilovthrough the range.
19507bfccd7SRuslan ErmilovFor example, ``0-23/2'' can be used in the hours
19684f33deaSJordan K. Hubbardfield to specify command execution every other hour (the alternative
19707bfccd7SRuslan Ermilovin the V7 standard is ``0,2,4,6,8,10,12,14,16,18,20,22'').
19807bfccd7SRuslan ErmilovSteps are
19984f33deaSJordan K. Hubbardalso permitted after an asterisk, so if you want to say ``every two
20084f33deaSJordan K. Hubbardhours'', just use ``*/2''.
201401e6468SPhilippe Charnier.Pp
20284f33deaSJordan K. HubbardNames can also be used for the ``month'' and ``day of week''
20307bfccd7SRuslan Ermilovfields.
20407bfccd7SRuslan ErmilovUse the first three letters of the particular
2050227791bSRuslan Ermilovday or month (case does not matter).
20607bfccd7SRuslan ErmilovRanges or
20784f33deaSJordan K. Hubbardlists of names are not allowed.
208401e6468SPhilippe Charnier.Pp
20984f33deaSJordan K. HubbardThe ``sixth'' field (the rest of the line) specifies the command to be
21084f33deaSJordan K. Hubbardrun.
2115b80de23SKyle EvansOne or more command options may precede the command to modify processing
2125b80de23SKyle Evansbehavior.
21384f33deaSJordan K. HubbardThe entire command portion of the line, up to a newline or %
214401e6468SPhilippe Charniercharacter, will be executed by
215401e6468SPhilippe Charnier.Pa /bin/sh
216401e6468SPhilippe Charnieror by the shell
217401e6468SPhilippe Charnierspecified in the
218401e6468SPhilippe Charnier.Ev SHELL
219401e6468SPhilippe Charniervariable of the cronfile.
22084f33deaSJordan K. HubbardPercent-signs (%) in the command, unless escaped with backslash
22184f33deaSJordan K. Hubbard(\\), will be changed into newline characters, and all data
22284f33deaSJordan K. Hubbardafter the first % will be sent to the command as standard
22384f33deaSJordan K. Hubbardinput.
224401e6468SPhilippe Charnier.Pp
2255b80de23SKyle EvansThe following command options can be supplied:
2265b80de23SKyle Evans.Bl -tag -width Ds
2275b80de23SKyle Evans.It Fl n
2285b80de23SKyle EvansNo mail is sent after a successful run.
2295b80de23SKyle EvansThe execution output will only be mailed if the command exits with a non-zero
2305b80de23SKyle Evansexit code.
2315b80de23SKyle EvansThe
2325b80de23SKyle Evans.Fl n
2335b80de23SKyle Evansoption is an attempt to cure potentially copious volumes of mail coming from
2345b80de23SKyle Evans.Xr cron 8 .
2355b80de23SKyle Evans.It Fl q
2365b80de23SKyle EvansExecution will not be logged.
2375b80de23SKyle Evans.El
2385b80de23SKyle Evans.sp
2395b80de23SKyle EvansDuplicate options are not allowed.
2405b80de23SKyle Evans.Pp
24184f33deaSJordan K. HubbardNote: The day of a command's execution can be specified by two
24207bfccd7SRuslan Ermilovfields \(em day of month, and day of week.
24307bfccd7SRuslan ErmilovIf both fields are
2440227791bSRuslan Ermilovrestricted (ie, are not *), the command will be run when
245401e6468SPhilippe Charnier.Em either
24607bfccd7SRuslan Ermilovfield matches the current time.
24707bfccd7SRuslan ErmilovFor example,
24884f33deaSJordan K. Hubbard``30 4 1,15 * 5''
24984f33deaSJordan K. Hubbardwould cause a command to be run at 4:30 am on the 1st and 15th of each
25084f33deaSJordan K. Hubbardmonth, plus every Friday.
251c3e1da6bSSheldon Hearn.Pp
252c3e1da6bSSheldon HearnInstead of the first five fields,
253a08d12d3SGleb Smirnoffa line may start with
254a08d12d3SGleb Smirnoff.Sq @
255a08d12d3SGleb Smirnoffsymbol followed either by one of eight special strings or by a numeric value.
256a08d12d3SGleb SmirnoffThe recognized special strings are:
257c3e1da6bSSheldon Hearn.Bd -literal -offset indent
258c3e1da6bSSheldon Hearnstring		meaning
259c3e1da6bSSheldon Hearn------		-------
260df799cbaSWarren Block@reboot		Run once, at startup of cron.
261c3e1da6bSSheldon Hearn@yearly		Run once a year, "0 0 1 1 *".
262fd522d40SBill Fumerola@annually	(same as @yearly)
263c3e1da6bSSheldon Hearn@monthly	Run once a month, "0 0 1 * *".
264c3e1da6bSSheldon Hearn@weekly		Run once a week, "0 0 * * 0".
265c3e1da6bSSheldon Hearn@daily		Run once a day, "0 0 * * *".
266c3e1da6bSSheldon Hearn@midnight	(same as @daily)
267c3e1da6bSSheldon Hearn@hourly		Run once an hour, "0 * * * *".
2687a5c30c5SMaxim Sobolev@every_minute	Run once a minute, "*/1 * * * *".
2697a5c30c5SMaxim Sobolev@every_second	Run once a second.
270c3e1da6bSSheldon Hearn.Ed
271a08d12d3SGleb Smirnoff.Pp
272a08d12d3SGleb SmirnoffThe
273a08d12d3SGleb Smirnoff.Sq @
274a08d12d3SGleb Smirnoffsymbol followed by a numeric value has a special notion of running
275bd6174f7SKyle Evansa job that many seconds after completion of the previous invocation of
276a08d12d3SGleb Smirnoffthe job.
277a08d12d3SGleb SmirnoffUnlike regular syntax, it guarantees not to overlap two or more
278bd6174f7SKyle Evansinvocations of the same job during normal cron execution.
279bd6174f7SKyle EvansNote, however, that overlap may occur if the job is running when the file
280bd6174f7SKyle Evanscontaining the job is modified and subsequently reloaded.
281bd6174f7SKyle EvansThe first run is scheduled for the specified number of seconds after cron
282bd6174f7SKyle Evansis started or the crontab entry is reloaded.
283401e6468SPhilippe Charnier.Sh EXAMPLE CRON FILE
284401e6468SPhilippe Charnier.Bd -literal
28584f33deaSJordan K. Hubbard
286d2a864e4SNick Hibma# use /bin/sh to run commands, overriding the default set by cron
28784f33deaSJordan K. HubbardSHELL=/bin/sh
28884f33deaSJordan K. Hubbard# mail any output to `paul', no matter whose crontab this is
28984f33deaSJordan K. HubbardMAILTO=paul
29084f33deaSJordan K. Hubbard#
29184f33deaSJordan K. Hubbard# run five minutes after midnight, every day
29284f33deaSJordan K. Hubbard5 0 * * *       $HOME/bin/daily.job >> $HOME/tmp/out 2>&1
29384f33deaSJordan K. Hubbard# run at 2:15pm on the first of every month -- output mailed to paul
29484f33deaSJordan K. Hubbard15 14 1 * *     $HOME/bin/monthly
29584f33deaSJordan K. Hubbard# run at 10 pm on weekdays, annoy Joe
29684f33deaSJordan K. Hubbard0 22 * * 1-5	mail -s "It's 10pm" joe%Joe,%%Where are your kids?%
29784f33deaSJordan K. Hubbard23 0-23/2 * * * echo "run 23 minutes after midn, 2am, 4am ..., everyday"
29884f33deaSJordan K. Hubbard5 4 * * sun     echo "run at 5 after 4 every sunday"
299a08d12d3SGleb Smirnoff# run at 5 minutes intervals, no matter how long it takes
300a08d12d3SGleb Smirnoff@300		svnlite up /usr/src
3015b80de23SKyle Evans# run every minute, suppress logging
3025b80de23SKyle Evans* * * * *       -q date
3035b80de23SKyle Evans# run every minute, only send mail if ping fails
3045b80de23SKyle Evans* * * * *       -n ping -c 1 freebsd.org
305401e6468SPhilippe Charnier.Ed
306401e6468SPhilippe Charnier.Sh SEE ALSO
307bf5cbf35SWolfram Schneider.Xr crontab 1 ,
308bf5cbf35SWolfram Schneider.Xr cron 8
309401e6468SPhilippe Charnier.Sh EXTENSIONS
31084f33deaSJordan K. HubbardWhen specifying day of week, both day 0 and day 7 will be considered Sunday.
311753d686dSRuslan Ermilov.Bx
312753d686dSRuslan Ermilovand
313753d686dSRuslan Ermilov.Tn ATT
314753d686dSRuslan Ermilovseem to disagree about this.
315401e6468SPhilippe Charnier.Pp
31607bfccd7SRuslan ErmilovLists and ranges are allowed to co-exist in the same field.
31707bfccd7SRuslan Ermilov"1-3,7-9" would
318753d686dSRuslan Ermilovbe rejected by
319753d686dSRuslan Ermilov.Tn ATT
320753d686dSRuslan Ermilovor
321753d686dSRuslan Ermilov.Bx
322753d686dSRuslan Ermilovcron -- they want to see "1-3" or "7,8,9" ONLY.
323401e6468SPhilippe Charnier.Pp
32484f33deaSJordan K. HubbardRanges can include "steps", so "1-9/2" is the same as "1,3,5,7,9".
325401e6468SPhilippe Charnier.Pp
32684f33deaSJordan K. HubbardNames of months or days of the week can be specified by name.
327401e6468SPhilippe Charnier.Pp
32807bfccd7SRuslan ErmilovEnvironment variables can be set in the crontab.
32907bfccd7SRuslan ErmilovIn
330753d686dSRuslan Ermilov.Bx
331753d686dSRuslan Ermilovor
332753d686dSRuslan Ermilov.Tn ATT ,
333753d686dSRuslan Ermilovthe
334401e6468SPhilippe Charnierenvironment handed to child processes is basically the one from
335401e6468SPhilippe Charnier.Pa /etc/rc .
336401e6468SPhilippe Charnier.Pp
337753d686dSRuslan ErmilovCommand output is mailed to the crontab owner
338753d686dSRuslan Ermilov.No ( Bx
3390227791bSRuslan Ermilovcannot do this), can be
3400227791bSRuslan Ermilovmailed to a person other than the crontab owner (SysV cannot do this), or the
3410227791bSRuslan Ermilovfeature can be turned off and no mail will be sent at all (SysV cannot do this
34284f33deaSJordan K. Hubbardeither).
343c3e1da6bSSheldon Hearn.Pp
344c3e1da6bSSheldon HearnAll of the
345c3e1da6bSSheldon Hearn.Sq @
346a08d12d3SGleb Smirnoffdirectives that can appear in place of the first five fields
347c3e1da6bSSheldon Hearnare extensions.
3485b80de23SKyle Evans.Pp
3495b80de23SKyle EvansCommand processing can be modified using command options.
3505b80de23SKyle EvansThe
3515b80de23SKyle Evans.Sq -q
3525b80de23SKyle Evansoption suppresses logging.
3535b80de23SKyle EvansThe
3545b80de23SKyle Evans.Sq -n
3555b80de23SKyle Evansoption does not mail on successful run.
356f12a1471SPhilippe Charnier.Sh AUTHORS
35701c2b8acSBaptiste Daroussin.An Paul Vixie Aq Mt paul@vix.com
35881f4b036SSheldon Hearn.Sh BUGS
35936a142c4SRuslan ErmilovIf you are in one of the 70-odd countries that observe Daylight
360f85ad80cSGlen BarberSavings Time, jobs scheduled during the rollback or advance may be
361f85ad80cSGlen Barberaffected if
362f85ad80cSGlen Barber.Xr cron 8
363f85ad80cSGlen Barberis not started with the
364f85ad80cSGlen Barber.Fl s
365f85ad80cSGlen Barberflag.
36636a142c4SRuslan ErmilovIn general, it is not a good idea to schedule jobs during
367f85ad80cSGlen Barberthis period if
368f85ad80cSGlen Barber.Xr cron 8
369f85ad80cSGlen Barberis not started with the
370f85ad80cSGlen Barber.Fl s
371f85ad80cSGlen Barberflag, which is enabled by default.
372f85ad80cSGlen BarberSee
373f85ad80cSGlen Barber.Xr cron 8
374f85ad80cSGlen Barberfor more details.
37581f4b036SSheldon Hearn.Pp
376fd2f39cbSSean FarleyFor US timezones (except parts of AZ and HI) the time shift occurs at
37707bfccd7SRuslan Ermilov2AM local time.
37807bfccd7SRuslan ErmilovFor others, the output of the
37981f4b036SSheldon Hearn.Xr zdump 8
38081f4b036SSheldon Hearnprogram's verbose
38181f4b036SSheldon Hearn.Fl ( v )
38281f4b036SSheldon Hearnoption can be used to determine the moment of time shift.
383