184f33deaSJordan K. Hubbard.\"/* Copyright 1988,1990,1993,1994 by Paul Vixie 284f33deaSJordan K. Hubbard.\" * All rights reserved 384f33deaSJordan K. Hubbard.\" */ 484f33deaSJordan K. Hubbard.\" 5fe590ffeSEric van Gyzen.\"Copyright (c) 1997 by Internet Software Consortium 6fe590ffeSEric van Gyzen.\" 7fe590ffeSEric van Gyzen.\"Permission to use, copy, modify, and distribute this software for any 8fe590ffeSEric van Gyzen.\"purpose with or without fee is hereby granted, provided that the above 9fe590ffeSEric van Gyzen.\"copyright notice and this permission notice appear in all copies. 10fe590ffeSEric van Gyzen.\" 11fe590ffeSEric van Gyzen.\"THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS 12fe590ffeSEric van Gyzen.\"ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES 13fe590ffeSEric van Gyzen.\"OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE 14fe590ffeSEric van Gyzen.\"CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 15fe590ffeSEric van Gyzen.\"DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 16fe590ffeSEric van Gyzen.\"PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 17fe590ffeSEric van Gyzen.\"ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 18fe590ffeSEric van Gyzen.\"SOFTWARE. 19fe590ffeSEric van Gyzen.\" 20fe590ffeSEric van Gyzen.\" $Id: crontab.5,v 1.2 1998/08/14 00:32:38 vixie Exp $ 2184f33deaSJordan K. Hubbard.\" 22*042267e0SPaweł Krawczyk.Dd May 10, 2024 23401e6468SPhilippe Charnier.Dt CRONTAB 5 24401e6468SPhilippe Charnier.Os 25401e6468SPhilippe Charnier.Sh NAME 26401e6468SPhilippe Charnier.Nm crontab 27401e6468SPhilippe Charnier.Nd tables for driving cron 28401e6468SPhilippe Charnier.Sh DESCRIPTION 2984f33deaSJordan K. HubbardA 30401e6468SPhilippe Charnier.Nm 3184f33deaSJordan K. Hubbardfile contains instructions to the 32401e6468SPhilippe Charnier.Xr cron 8 3384f33deaSJordan K. Hubbarddaemon of the general form: ``run this command at this time on this date''. 3484f33deaSJordan K. HubbardEach user has their own crontab, and commands in any given crontab will be 3507bfccd7SRuslan Ermilovexecuted as the user who owns the crontab. 3607bfccd7SRuslan ErmilovUucp and News will usually have 3784f33deaSJordan K. Hubbardtheir own crontabs, eliminating the need for explicitly running 38401e6468SPhilippe Charnier.Xr su 1 3984f33deaSJordan K. Hubbardas part of a cron command. 40401e6468SPhilippe Charnier.Pp 4107bfccd7SRuslan ErmilovBlank lines and leading spaces and tabs are ignored. 4207bfccd7SRuslan ErmilovLines whose first 4384f33deaSJordan K. Hubbardnon-space character is a pound-sign (#) are comments, and are ignored. 4484f33deaSJordan K. HubbardNote that comments are not allowed on the same line as cron commands, since 4507bfccd7SRuslan Ermilovthey will be taken to be part of the command. 4607bfccd7SRuslan ErmilovSimilarly, comments are not 4784f33deaSJordan K. Hubbardallowed on the same line as environment variable settings. 48401e6468SPhilippe Charnier.Pp 4984f33deaSJordan K. HubbardAn active line in a crontab will be either an environment setting or a cron 5007bfccd7SRuslan Ermilovcommand. 5107bfccd7SRuslan ErmilovAn environment setting is of the form, 52c5083414SRuslan Ermilov.Bd -literal 5384f33deaSJordan K. Hubbard name = value 54c5083414SRuslan Ermilov.Ed 55401e6468SPhilippe Charnier.Pp 5684f33deaSJordan K. Hubbardwhere the spaces around the equal-sign (=) are optional, and any subsequent 5784f33deaSJordan K. Hubbardnon-leading spaces in 58401e6468SPhilippe Charnier.Em value 5984f33deaSJordan K. Hubbardwill be part of the value assigned to 60401e6468SPhilippe Charnier.Em name . 6184f33deaSJordan K. HubbardThe 62401e6468SPhilippe Charnier.Em value 6384f33deaSJordan K. Hubbardstring may be placed in quotes (single or double, but matching) to preserve 6484f33deaSJordan K. Hubbardleading or trailing blanks. 65c3e1da6bSSheldon HearnThe 66c3e1da6bSSheldon Hearn.Em name 67c3e1da6bSSheldon Hearnstring may also be placed in quote (single or double, but matching) 6857bd0fc6SJens Schweikhardtto preserve leading, trailing or inner blanks. 69401e6468SPhilippe Charnier.Pp 7084f33deaSJordan K. HubbardSeveral environment variables are set up 7184f33deaSJordan K. Hubbardautomatically by the 72401e6468SPhilippe Charnier.Xr cron 8 7384f33deaSJordan K. Hubbarddaemon. 74401e6468SPhilippe Charnier.Ev SHELL 75401e6468SPhilippe Charnieris set to 76401e6468SPhilippe Charnier.Pa /bin/sh , 77401e6468SPhilippe Charnierand 78401e6468SPhilippe Charnier.Ev LOGNAME 79401e6468SPhilippe Charnierand 80401e6468SPhilippe Charnier.Ev HOME 81401e6468SPhilippe Charnierare set from the 82401e6468SPhilippe Charnier.Pa /etc/passwd 8384f33deaSJordan K. Hubbardline of the crontab's owner. 847466dbd6SKyle EvansIn addition, the environment variables of the 8589c7bb56SKyle Evansuser's login class will be set from 867466dbd6SKyle Evans.Pa /etc/login.conf.db 877466dbd6SKyle Evansand 887466dbd6SKyle Evans.Pa ~/.login_conf . 8989c7bb56SKyle Evans(A setting of 9089c7bb56SKyle Evans.Ev HOME 9189c7bb56SKyle Evansin the login class will override the value from 9289c7bb56SKyle Evans.Pa /etc/passwd , 9389c7bb56SKyle Evansbut will not change the current directory when the command is 9489c7bb56SKyle Evansinvoked, which can only be overridden with an explicit setting of 9589c7bb56SKyle Evans.Ev HOME 9689c7bb56SKyle Evanswithin the crontab file itself.) 9789c7bb56SKyle EvansIf 9889c7bb56SKyle Evans.Ev PATH 9989c7bb56SKyle Evansis not set by any other means, it is defaulted to 10089c7bb56SKyle Evans.Pa /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin . 10148193882SChristian Brueffer.Ev HOME , 10248193882SChristian Brueffer.Ev PATH 103401e6468SPhilippe Charnierand 1047466dbd6SKyle Evans.Ev SHELL , 1057466dbd6SKyle Evansand any variables set from the login class, 106401e6468SPhilippe Charniermay be overridden by settings in the crontab; 107401e6468SPhilippe Charnier.Ev LOGNAME 108401e6468SPhilippe Charniermay not. 109401e6468SPhilippe Charnier.Pp 110401e6468SPhilippe Charnier(Another note: the 111401e6468SPhilippe Charnier.Ev LOGNAME 112401e6468SPhilippe Charniervariable is sometimes called 113401e6468SPhilippe Charnier.Ev USER 114753d686dSRuslan Ermilovon 115753d686dSRuslan Ermilov.Bx 116753d686dSRuslan Ermilovsystems... 117c75526d5SRuslan ErmilovOn these systems, 118401e6468SPhilippe Charnier.Ev USER 119401e6468SPhilippe Charnierwill be set also). 120401e6468SPhilippe Charnier.Pp 12189c7bb56SKyle EvansIf 122401e6468SPhilippe Charnier.Xr cron 8 12389c7bb56SKyle Evanshas any reason to send mail as a result of running commands in 12489c7bb56SKyle Evans``this'' crontab, it will respect the following settings which may be 12589c7bb56SKyle Evansdefined in the crontab (but which are not taken from the login class). 12607bfccd7SRuslan ErmilovIf 127401e6468SPhilippe Charnier.Ev MAILTO 128401e6468SPhilippe Charnieris defined (and non-empty), mail is 1298030199cSTom Rhodessent to the user so named. 13012455a9eSKyle EvansIf 13112455a9eSKyle Evans.Ev MAILFROM 13212455a9eSKyle Evansis defined (and non-empty), its value will be used as the from address. 1338030199cSTom Rhodes.Ev MAILTO 1348030199cSTom Rhodesmay also be used to direct mail to multiple recipients 135637fd955SSergey Skvortsovby separating recipient users with a comma. 1368030199cSTom RhodesIf 137401e6468SPhilippe Charnier.Ev MAILTO 138401e6468SPhilippe Charnieris defined but empty (MAILTO=""), no 13907bfccd7SRuslan Ermilovmail will be sent. 14007bfccd7SRuslan ErmilovOtherwise mail is sent to the owner of the crontab. 14107bfccd7SRuslan ErmilovThis 142401e6468SPhilippe Charnieroption is useful if you decide on 143401e6468SPhilippe Charnier.Pa /bin/mail 144401e6468SPhilippe Charnierinstead of 145401e6468SPhilippe Charnier.Pa /usr/lib/sendmail 146401e6468SPhilippe Charnieras 147401e6468SPhilippe Charnieryour mailer when you install cron -- 148401e6468SPhilippe Charnier.Pa /bin/mail 1490227791bSRuslan Ermilovdoes not do aliasing, and UUCP 1500227791bSRuslan Ermilovusually does not read its mail. 151401e6468SPhilippe Charnier.Pp 15284f33deaSJordan K. HubbardThe format of a cron command is very much the V7 standard, with a number of 15307bfccd7SRuslan Ermilovupward-compatible extensions. 154*042267e0SPaweł Krawczyk.Pp 155*042267e0SPaweł KrawczykEach user cron line has five time and date fields, followed by a command. 156*042267e0SPaweł Krawczyk.Pp 157*042267e0SPaweł KrawczykEach line in system crontab ( 158*042267e0SPaweł Krawczyk.Pa /etc/crontab, /etc/cron.d, /usr/local/etc/cron.d 159*042267e0SPaweł Krawczyk) has five time and date fields, followed by a valid user name 160*042267e0SPaweł Krawczyk(with optional ``:<group>'' and ``/<login-class>'' suffixes), 16107bfccd7SRuslan Ermilovfollowed by a command. 162*042267e0SPaweł Krawczyk.Pp 16307bfccd7SRuslan ErmilovCommands are executed by 164401e6468SPhilippe Charnier.Xr cron 8 16584f33deaSJordan K. Hubbardwhen the minute, hour, and month of year fields match the current time, 166401e6468SPhilippe Charnier.Em and 16784f33deaSJordan K. Hubbardwhen at least one of the two day fields (day of month, or day of week) 1684188e025SGiorgos Keramidasmatches the current time (see ``Note'' below). 169401e6468SPhilippe Charnier.Xr cron 8 17084f33deaSJordan K. Hubbardexamines cron entries once every minute. 17184f33deaSJordan K. HubbardThe time and date fields are: 172401e6468SPhilippe Charnier.Bd -literal -offset indent 17384f33deaSJordan K. Hubbardfield allowed values 17484f33deaSJordan K. Hubbard----- -------------- 17584f33deaSJordan K. Hubbardminute 0-59 17684f33deaSJordan K. Hubbardhour 0-23 177043c578eSMike Pritchardday of month 1-31 178043c578eSMike Pritchardmonth 1-12 (or names, see below) 17984f33deaSJordan K. Hubbardday of week 0-7 (0 or 7 is Sun, or use names) 180401e6468SPhilippe Charnier.Ed 181401e6468SPhilippe Charnier.Pp 18284f33deaSJordan K. HubbardA field may be an asterisk (*), which always stands for ``first\-last''. 183401e6468SPhilippe Charnier.Pp 18407bfccd7SRuslan ErmilovRanges of numbers are allowed. 18507bfccd7SRuslan ErmilovRanges are two numbers separated 18607bfccd7SRuslan Ermilovwith a hyphen. 18707bfccd7SRuslan ErmilovThe specified range is inclusive. 18807bfccd7SRuslan ErmilovFor example, 18984f33deaSJordan K. Hubbard8-11 for an ``hours'' entry specifies execution at hours 8, 9, 10 19084f33deaSJordan K. Hubbardand 11. 191401e6468SPhilippe Charnier.Pp 19207bfccd7SRuslan ErmilovLists are allowed. 19307bfccd7SRuslan ErmilovA list is a set of numbers (or ranges) 19407bfccd7SRuslan Ermilovseparated by commas. 19507bfccd7SRuslan ErmilovExamples: ``1,2,5,9'', ``0-4,8-12''. 196401e6468SPhilippe Charnier.Pp 19707bfccd7SRuslan ErmilovStep values can be used in conjunction with ranges. 19807bfccd7SRuslan ErmilovFollowing 19984f33deaSJordan K. Hubbarda range with ``/<number>'' specifies skips of the number's value 20007bfccd7SRuslan Ermilovthrough the range. 20107bfccd7SRuslan ErmilovFor example, ``0-23/2'' can be used in the hours 20284f33deaSJordan K. Hubbardfield to specify command execution every other hour (the alternative 20307bfccd7SRuslan Ermilovin the V7 standard is ``0,2,4,6,8,10,12,14,16,18,20,22''). 20407bfccd7SRuslan ErmilovSteps are 20584f33deaSJordan K. Hubbardalso permitted after an asterisk, so if you want to say ``every two 20684f33deaSJordan K. Hubbardhours'', just use ``*/2''. 207401e6468SPhilippe Charnier.Pp 20884f33deaSJordan K. HubbardNames can also be used for the ``month'' and ``day of week'' 20907bfccd7SRuslan Ermilovfields. 21007bfccd7SRuslan ErmilovUse the first three letters of the particular 2110227791bSRuslan Ermilovday or month (case does not matter). 21229358694SChris ReesRanges and lists are also allowed. 213401e6468SPhilippe Charnier.Pp 21484f33deaSJordan K. HubbardThe ``sixth'' field (the rest of the line) specifies the command to be 21584f33deaSJordan K. Hubbardrun. 2165b80de23SKyle EvansOne or more command options may precede the command to modify processing 2175b80de23SKyle Evansbehavior. 21884f33deaSJordan K. HubbardThe entire command portion of the line, up to a newline or % 219401e6468SPhilippe Charniercharacter, will be executed by 220401e6468SPhilippe Charnier.Pa /bin/sh 221401e6468SPhilippe Charnieror by the shell 222401e6468SPhilippe Charnierspecified in the 223401e6468SPhilippe Charnier.Ev SHELL 224401e6468SPhilippe Charniervariable of the cronfile. 22584f33deaSJordan K. HubbardPercent-signs (%) in the command, unless escaped with backslash 22684f33deaSJordan K. Hubbard(\\), will be changed into newline characters, and all data 22784f33deaSJordan K. Hubbardafter the first % will be sent to the command as standard 22884f33deaSJordan K. Hubbardinput. 229401e6468SPhilippe Charnier.Pp 2305b80de23SKyle EvansThe following command options can be supplied: 2315b80de23SKyle Evans.Bl -tag -width Ds 2325b80de23SKyle Evans.It Fl n 2335b80de23SKyle EvansNo mail is sent after a successful run. 2345b80de23SKyle EvansThe execution output will only be mailed if the command exits with a non-zero 2355b80de23SKyle Evansexit code. 2365b80de23SKyle EvansThe 2375b80de23SKyle Evans.Fl n 2385b80de23SKyle Evansoption is an attempt to cure potentially copious volumes of mail coming from 2395b80de23SKyle Evans.Xr cron 8 . 2405b80de23SKyle Evans.It Fl q 2415b80de23SKyle EvansExecution will not be logged. 2425b80de23SKyle Evans.El 2435b80de23SKyle Evans.sp 2445b80de23SKyle EvansDuplicate options are not allowed. 2455b80de23SKyle Evans.Pp 24684f33deaSJordan K. HubbardNote: The day of a command's execution can be specified by two 24707bfccd7SRuslan Ermilovfields \(em day of month, and day of week. 24807bfccd7SRuslan ErmilovIf both fields are 2490227791bSRuslan Ermilovrestricted (ie, are not *), the command will be run when 250401e6468SPhilippe Charnier.Em either 25107bfccd7SRuslan Ermilovfield matches the current time. 25207bfccd7SRuslan ErmilovFor example, 25384f33deaSJordan K. Hubbard``30 4 1,15 * 5'' 25484f33deaSJordan K. Hubbardwould cause a command to be run at 4:30 am on the 1st and 15th of each 25584f33deaSJordan K. Hubbardmonth, plus every Friday. 256c3e1da6bSSheldon Hearn.Pp 257c3e1da6bSSheldon HearnInstead of the first five fields, 258a08d12d3SGleb Smirnoffa line may start with 259a08d12d3SGleb Smirnoff.Sq @ 260a08d12d3SGleb Smirnoffsymbol followed either by one of eight special strings or by a numeric value. 261a08d12d3SGleb SmirnoffThe recognized special strings are: 262c3e1da6bSSheldon Hearn.Bd -literal -offset indent 263c3e1da6bSSheldon Hearnstring meaning 264c3e1da6bSSheldon Hearn------ ------- 265df799cbaSWarren Block@reboot Run once, at startup of cron. 266c3e1da6bSSheldon Hearn@yearly Run once a year, "0 0 1 1 *". 267fd522d40SBill Fumerola@annually (same as @yearly) 268c3e1da6bSSheldon Hearn@monthly Run once a month, "0 0 1 * *". 269c3e1da6bSSheldon Hearn@weekly Run once a week, "0 0 * * 0". 270c3e1da6bSSheldon Hearn@daily Run once a day, "0 0 * * *". 271c3e1da6bSSheldon Hearn@midnight (same as @daily) 272c3e1da6bSSheldon Hearn@hourly Run once an hour, "0 * * * *". 2737a5c30c5SMaxim Sobolev@every_minute Run once a minute, "*/1 * * * *". 2747a5c30c5SMaxim Sobolev@every_second Run once a second. 275c3e1da6bSSheldon Hearn.Ed 276a08d12d3SGleb Smirnoff.Pp 277a08d12d3SGleb SmirnoffThe 278a08d12d3SGleb Smirnoff.Sq @ 279a08d12d3SGleb Smirnoffsymbol followed by a numeric value has a special notion of running 280bd6174f7SKyle Evansa job that many seconds after completion of the previous invocation of 281a08d12d3SGleb Smirnoffthe job. 282a08d12d3SGleb SmirnoffUnlike regular syntax, it guarantees not to overlap two or more 283bd6174f7SKyle Evansinvocations of the same job during normal cron execution. 284bd6174f7SKyle EvansNote, however, that overlap may occur if the job is running when the file 285bd6174f7SKyle Evanscontaining the job is modified and subsequently reloaded. 286bd6174f7SKyle EvansThe first run is scheduled for the specified number of seconds after cron 287bd6174f7SKyle Evansis started or the crontab entry is reloaded. 288*042267e0SPaweł Krawczyk.Sh EXAMPLE SYSTEM CRON FILE 289401e6468SPhilippe Charnier.Bd -literal 290*042267e0SPaweł Krawczyk# sample /etc/cron.d/vmstat 291*042267e0SPaweł Krawczyk# run vmstat every five minutes 292*042267e0SPaweł Krawczyk# note the username as sixth field! 293*042267e0SPaweł Krawczyk*/5 * * * * root vmstat 294*042267e0SPaweł Krawczyk.Ed 295*042267e0SPaweł Krawczyk.Sh EXAMPLE USER CRON FILE 296*042267e0SPaweł Krawczyk.Bd -literal 297d2a864e4SNick Hibma# use /bin/sh to run commands, overriding the default set by cron 29884f33deaSJordan K. HubbardSHELL=/bin/sh 29984f33deaSJordan K. Hubbard# mail any output to `paul', no matter whose crontab this is 30084f33deaSJordan K. HubbardMAILTO=paul 30184f33deaSJordan K. Hubbard# 30284f33deaSJordan K. Hubbard# run five minutes after midnight, every day 30384f33deaSJordan K. Hubbard5 0 * * * $HOME/bin/daily.job >> $HOME/tmp/out 2>&1 30484f33deaSJordan K. Hubbard# run at 2:15pm on the first of every month -- output mailed to paul 30584f33deaSJordan K. Hubbard15 14 1 * * $HOME/bin/monthly 30684f33deaSJordan K. Hubbard# run at 10 pm on weekdays, annoy Joe 30784f33deaSJordan K. Hubbard0 22 * * 1-5 mail -s "It's 10pm" joe%Joe,%%Where are your kids?% 30884f33deaSJordan K. Hubbard23 0-23/2 * * * echo "run 23 minutes after midn, 2am, 4am ..., everyday" 30984f33deaSJordan K. Hubbard5 4 * * sun echo "run at 5 after 4 every sunday" 310a08d12d3SGleb Smirnoff# run at 5 minutes intervals, no matter how long it takes 311a08d12d3SGleb Smirnoff@300 svnlite up /usr/src 3125b80de23SKyle Evans# run every minute, suppress logging 3135b80de23SKyle Evans* * * * * -q date 3145b80de23SKyle Evans# run every minute, only send mail if ping fails 3155b80de23SKyle Evans* * * * * -n ping -c 1 freebsd.org 316401e6468SPhilippe Charnier.Ed 317401e6468SPhilippe Charnier.Sh SEE ALSO 318bf5cbf35SWolfram Schneider.Xr crontab 1 , 319bf5cbf35SWolfram Schneider.Xr cron 8 320401e6468SPhilippe Charnier.Sh EXTENSIONS 32184f33deaSJordan K. HubbardWhen specifying day of week, both day 0 and day 7 will be considered Sunday. 322753d686dSRuslan Ermilov.Bx 323753d686dSRuslan Ermilovand 324753d686dSRuslan Ermilov.Tn ATT 325753d686dSRuslan Ermilovseem to disagree about this. 326401e6468SPhilippe Charnier.Pp 32707bfccd7SRuslan ErmilovLists and ranges are allowed to co-exist in the same field. 32807bfccd7SRuslan Ermilov"1-3,7-9" would 329753d686dSRuslan Ermilovbe rejected by 330753d686dSRuslan Ermilov.Tn ATT 331753d686dSRuslan Ermilovor 332753d686dSRuslan Ermilov.Bx 333753d686dSRuslan Ermilovcron -- they want to see "1-3" or "7,8,9" ONLY. 334401e6468SPhilippe Charnier.Pp 33584f33deaSJordan K. HubbardRanges can include "steps", so "1-9/2" is the same as "1,3,5,7,9". 336401e6468SPhilippe Charnier.Pp 33784f33deaSJordan K. HubbardNames of months or days of the week can be specified by name. 338401e6468SPhilippe Charnier.Pp 33907bfccd7SRuslan ErmilovEnvironment variables can be set in the crontab. 34007bfccd7SRuslan ErmilovIn 341753d686dSRuslan Ermilov.Bx 342753d686dSRuslan Ermilovor 343753d686dSRuslan Ermilov.Tn ATT , 344753d686dSRuslan Ermilovthe 345401e6468SPhilippe Charnierenvironment handed to child processes is basically the one from 346401e6468SPhilippe Charnier.Pa /etc/rc . 347401e6468SPhilippe Charnier.Pp 348753d686dSRuslan ErmilovCommand output is mailed to the crontab owner 349753d686dSRuslan Ermilov.No ( Bx 3500227791bSRuslan Ermilovcannot do this), can be 3510227791bSRuslan Ermilovmailed to a person other than the crontab owner (SysV cannot do this), or the 3520227791bSRuslan Ermilovfeature can be turned off and no mail will be sent at all (SysV cannot do this 35384f33deaSJordan K. Hubbardeither). 354c3e1da6bSSheldon Hearn.Pp 355c3e1da6bSSheldon HearnAll of the 356c3e1da6bSSheldon Hearn.Sq @ 357a08d12d3SGleb Smirnoffdirectives that can appear in place of the first five fields 358c3e1da6bSSheldon Hearnare extensions. 3595b80de23SKyle Evans.Pp 3605b80de23SKyle EvansCommand processing can be modified using command options. 3615b80de23SKyle EvansThe 3625b80de23SKyle Evans.Sq -q 3635b80de23SKyle Evansoption suppresses logging. 3645b80de23SKyle EvansThe 3655b80de23SKyle Evans.Sq -n 3665b80de23SKyle Evansoption does not mail on successful run. 367f12a1471SPhilippe Charnier.Sh AUTHORS 36801c2b8acSBaptiste Daroussin.An Paul Vixie Aq Mt paul@vix.com 36981f4b036SSheldon Hearn.Sh BUGS 37036a142c4SRuslan ErmilovIf you are in one of the 70-odd countries that observe Daylight 371f85ad80cSGlen BarberSavings Time, jobs scheduled during the rollback or advance may be 372f85ad80cSGlen Barberaffected if 373f85ad80cSGlen Barber.Xr cron 8 374f85ad80cSGlen Barberis not started with the 375f85ad80cSGlen Barber.Fl s 376f85ad80cSGlen Barberflag. 37736a142c4SRuslan ErmilovIn general, it is not a good idea to schedule jobs during 378f85ad80cSGlen Barberthis period if 379f85ad80cSGlen Barber.Xr cron 8 380f85ad80cSGlen Barberis not started with the 381f85ad80cSGlen Barber.Fl s 382f85ad80cSGlen Barberflag, which is enabled by default. 383f85ad80cSGlen BarberSee 384f85ad80cSGlen Barber.Xr cron 8 385f85ad80cSGlen Barberfor more details. 38681f4b036SSheldon Hearn.Pp 387fd2f39cbSSean FarleyFor US timezones (except parts of AZ and HI) the time shift occurs at 38807bfccd7SRuslan Ermilov2AM local time. 38907bfccd7SRuslan ErmilovFor others, the output of the 39081f4b036SSheldon Hearn.Xr zdump 8 39181f4b036SSheldon Hearnprogram's verbose 39281f4b036SSheldon Hearn.Fl ( v ) 39381f4b036SSheldon Hearnoption can be used to determine the moment of time shift. 394