forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
354 lines
35 KiB
HTML
354 lines
35 KiB
HTML
<a name="functiongraph_01_0908"></a><a name="functiongraph_01_0908"></a>
|
||
|
||
<h1 class="topictitle1">Cron Expressions for a Function Timer Trigger</h1>
|
||
<div id="body32001227"><div class="p" id="functiongraph_01_0908__en-us_topic_0000001251907928_p4671236549">You can configure a cron expression in the following formats for a function timer trigger:<ul id="functiongraph_01_0908__en-us_topic_0000001251907928_ul1697314514554"><li id="functiongraph_01_0908__en-us_topic_0000001251907928_li997365175518">@every format<p id="functiongraph_01_0908__en-us_topic_0000001251907928_p646192315612"><a name="functiongraph_01_0908__en-us_topic_0000001251907928_li997365175518"></a><a name="en-us_topic_0000001251907928_li997365175518"></a>The format is "@every <em id="functiongraph_01_0908__en-us_topic_0000001251907928_i262310148410">N</em> unit". <em id="functiongraph_01_0908__en-us_topic_0000001251907928_i126293148412">N</em> is a positive integer. <strong id="functiongraph_01_0908__en-us_topic_0000001251907928_b1863071418417">unit</strong> can be ns, µs, ms, s, m, or h. An @every expression means to invoke a function every <em id="functiongraph_01_0908__en-us_topic_0000001251907928_i196306142419">N</em> time units, as shown in <a href="#functiongraph_01_0908__en-us_topic_0000001251907928_table7363243105610">Table 1</a>.</p>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_01_0908__en-us_topic_0000001251907928_table7363243105610"></a><a name="en-us_topic_0000001251907928_table7363243105610"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0908__en-us_topic_0000001251907928_table7363243105610" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Example expressions</caption><thead align="left"><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row153631343175610"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.1.1.2.2.3.1.1"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p114656577565">Expression</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.1.1.2.2.3.1.2"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p846535705617">Meaning</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row1636319436563"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.1.2.2.3.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1946555795610">@every 30m</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.1.2.2.3.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p204650576563">Triggers a function every 30 minutes.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row1136344345610"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.1.2.2.3.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p124650571569">@every 1.5h</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.1.2.2.3.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p14651357205618">Triggers a function every 1.5 hours.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row736344395611"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.1.2.2.3.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p34651457195619">@every 2h30m</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.1.1.2.2.3.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p3465125714565">Triggers a function every 2.5 hours.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</li><li id="functiongraph_01_0908__en-us_topic_0000001251907928_li4452921205610">Standard format<p id="functiongraph_01_0908__en-us_topic_0000001251907928_p196917573572"><a name="functiongraph_01_0908__en-us_topic_0000001251907928_li4452921205610"></a><a name="en-us_topic_0000001251907928_li4452921205610"></a>The format is "<em id="functiongraph_01_0908__en-us_topic_0000001251907928_i687513832105555">seconds minutes hours day-of-month month day-of-week</em>". <em id="functiongraph_01_0908__en-us_topic_0000001251907928_i126316432105555">day-of-week</em> is optional. The fields must be separated from each other using a space. <a href="#functiongraph_01_0908__en-us_topic_0000001251907928_table5859105445813">Table 2</a> describes the fields in a standard cron expression.</p>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_01_0908__en-us_topic_0000001251907928_table5859105445813"></a><a name="en-us_topic_0000001251907928_table5859105445813"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0908__en-us_topic_0000001251907928_table5859105445813" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row108590549589"><th align="left" class="cellrowborder" valign="top" width="25.05%" id="mcps1.3.1.1.2.2.2.5.1.1"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p46291113595">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="24.95%" id="mcps1.3.1.1.2.2.2.5.1.2"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1962141155919">Description</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.1.1.2.2.2.5.1.3"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p562201185912">Value Range</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.1.1.2.2.2.5.1.4"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p96217117591">Special Characters Allowed</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row2859554165811"><td class="cellrowborder" valign="top" width="25.05%" headers="mcps1.3.1.1.2.2.2.5.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p962811145915">Seconds</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="24.95%" headers="mcps1.3.1.1.2.2.2.5.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p136213114591">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1762311205910">0–59</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.4 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p26215114599">, - * /</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row185915413583"><td class="cellrowborder" valign="top" width="25.05%" headers="mcps1.3.1.1.2.2.2.5.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p196216111592">Minutes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="24.95%" headers="mcps1.3.1.1.2.2.2.5.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p7626117591">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p10635116598">0–59</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.4 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p76341113591">, - * /</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row1785945405810"><td class="cellrowborder" valign="top" width="25.05%" headers="mcps1.3.1.1.2.2.2.5.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p863161112592">Hours</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="24.95%" headers="mcps1.3.1.1.2.2.2.5.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p96321165915">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p56381112599">0–23</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.4 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p16321116591">, - * /</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row18593548586"><td class="cellrowborder" valign="top" width="25.05%" headers="mcps1.3.1.1.2.2.2.5.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1963511185917">Day-of-month</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="24.95%" headers="mcps1.3.1.1.2.2.2.5.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p263101119598">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p06351118592">1–31</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.4 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1063011135911">, - * ? /</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row1085913547581"><td class="cellrowborder" valign="top" width="25.05%" headers="mcps1.3.1.1.2.2.2.5.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p563121116599">Month</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="24.95%" headers="mcps1.3.1.1.2.2.2.5.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p663191135910">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1063101195917">1–12 or Jan–Dec. The value is case-insensitive, as shown in <a href="#functiongraph_01_0908__en-us_topic_0000001251907928_table19718122644217">Table 3</a>.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.4 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p126331125920">, - * /</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row1985955405817"><td class="cellrowborder" valign="top" width="25.05%" headers="mcps1.3.1.1.2.2.2.5.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p136371155920">Day-of-week</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="24.95%" headers="mcps1.3.1.1.2.2.2.5.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p176381112595">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p13638119593">0–6 or Sun–Sat. The value is case-insensitive, as shown in <a href="#functiongraph_01_0908__en-us_topic_0000001251907928_table1559918575415">Table 4</a>. <strong id="functiongraph_01_0908__en-us_topic_0000001251907928_b1359409356105555">0</strong> means Sunday.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.2.2.2.5.1.4 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p16315115595">, - * ? /</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_01_0908__en-us_topic_0000001251907928_table19718122644217"></a><a name="en-us_topic_0000001251907928_table19718122644217"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0908__en-us_topic_0000001251907928_table19718122644217" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Value description of the month field</caption><thead align="left"><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row14718826114210"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.1.1.2.3.2.4.1.1"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p57181926104211">Month</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.1.1.2.3.2.4.1.2"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p071802664215">Digit</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.1.1.2.3.2.4.1.3"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p67181026124216">Abbreviation</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row18718112684217"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p18718182618424">January</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1371822694216">1</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p5718162613423">Jan</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row1871802644213"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p37181426124211">February</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p2071816265426">2</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p127188269429">Feb</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row07181226134214"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1471812611426">March</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p19718426164213">3</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p471852618426">Mar</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row57181326154214"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p8718112664216">April</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p47181026124213">4</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p197180265429">Apr</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row18718152615425"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p18718202684215">May</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1718132612425">5</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p3718126124220">May</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row18718202619425"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p17187267427">June</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p11719192615423">6</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p14719026174217">Jun</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row671942611423"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p87192262429">July</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p137191126184217">7</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1471915261421">Jul</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row87199267425"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p4719172619428">August</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p971902613426">8</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1771942694216">Aug</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row7719142684216"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p197191226114216">September</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p6719132664210">9</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p9719182613426">Sep</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row97191626204218"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p971972613425">October</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p147191026194214">10</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1719122612425">Oct</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row19719102674219"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p9719226184213">November</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p67191826164215">11</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p10719132610426">Nov</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row7719182620425"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p87195264423">December</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1671952618426">12</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.3.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p207191326154216">Dec</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_01_0908__en-us_topic_0000001251907928_table1559918575415"></a><a name="en-us_topic_0000001251907928_table1559918575415"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0908__en-us_topic_0000001251907928_table1559918575415" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Value description of the day-of-week field</caption><thead align="left"><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row196077555412"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.1.1.2.4.2.4.1.1"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p8610659542">Day of Week</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.1.1.2.4.2.4.1.2"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p661115205413">Digit</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.1.1.2.4.2.4.1.3"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p361411525417">Abbreviation</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row9615145165413"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p7618135155411">Monday</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p46201575412">1</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p16212535415">Mon</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row562117545420"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1562318516545">Tuesday</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1162516510546">2</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p116261505411">Tue</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row36265519547"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p46281051542">Wednesday</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p116301555419">3</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1763175145410">Wed</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row10633185135411"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1563413555411">Thursday</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p263515115414">4</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p063745105414">Thu</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row2637175105413"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p36404515412">Friday</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p76401157541">5</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p964210510546">Fri</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row15642958549"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p8644556542">Saturday</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p16460511546">6</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p106481855548">Sat</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row565095165410"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p0652135205412">Sunday</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p2654175205413">0</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.1.2.4.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p7656145175410">Sun</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_01_0908__en-us_topic_0000001251907928_p118442561216"><a href="#functiongraph_01_0908__en-us_topic_0000001251907928_table161351329175920">Table 5</a> describes the special characters that can be used in a cron expression.</p>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_01_0908__en-us_topic_0000001251907928_table161351329175920"></a><a name="en-us_topic_0000001251907928_table161351329175920"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0908__en-us_topic_0000001251907928_table161351329175920" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Special character description</caption><thead align="left"><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row101351229105918"><th align="left" class="cellrowborder" valign="top" width="15.201520152015203%" id="mcps1.3.1.1.2.6.2.4.1.1"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1302479599">Special Character</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="28.012801280128013%" id="mcps1.3.1.1.2.6.2.4.1.2"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p6004710595">Meaning</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="56.78567856785678%" id="mcps1.3.1.1.2.6.2.4.1.3"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p140154720597">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row141351829195912"><td class="cellrowborder" valign="top" width="15.201520152015203%" headers="mcps1.3.1.1.2.6.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1502477598">*</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="28.012801280128013%" headers="mcps1.3.1.1.2.6.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p15014476592">Used to specify all values within a field.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="56.78567856785678%" headers="mcps1.3.1.1.2.6.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1501247155917"><strong id="functiongraph_01_0908__en-us_topic_0000001251907928_b8382134320189">*</strong> in the minutes field means every minute.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row19135429125913"><td class="cellrowborder" valign="top" width="15.201520152015203%" headers="mcps1.3.1.1.2.6.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p18024745915">,</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="28.012801280128013%" headers="mcps1.3.1.1.2.6.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p110154717595">Used to specify multiple values, which can be discontinuous.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="56.78567856785678%" headers="mcps1.3.1.1.2.6.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p150134716595">For example, "Jan,Apr,Jul,Oct" or "1,4,7,10" in the month field and "Sat,Sun" or "6,0" in the day-of-week field.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row161351029205914"><td class="cellrowborder" valign="top" width="15.201520152015203%" headers="mcps1.3.1.1.2.6.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p601147205911">-</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="28.012801280128013%" headers="mcps1.3.1.1.2.6.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p18054719591">Used to specify a range.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="56.78567856785678%" headers="mcps1.3.1.1.2.6.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p140447145917">For example, "0-3" in the minutes field.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row12135152955914"><td class="cellrowborder" valign="top" width="15.201520152015203%" headers="mcps1.3.1.1.2.6.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1921747175912">?</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="28.012801280128013%" headers="mcps1.3.1.1.2.6.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p329479599">Used to specify something in one of the two fields in which the character is allowed, but not the other.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="56.78567856785678%" headers="mcps1.3.1.1.2.6.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p192847205920">You can specify something only in the day-of-month or day-of-week field. For example, if you want your function to be executed on a particular day (such as the 10th) of the month, but do not care what day of the week that is, then put "10" in the day-of-month field and "?" in the day-of-week field.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row113592913591"><td class="cellrowborder" valign="top" width="15.201520152015203%" headers="mcps1.3.1.1.2.6.2.4.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p62647115920">/</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="28.012801280128013%" headers="mcps1.3.1.1.2.6.2.4.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p921047145915">Used to specify increments. The character before the slash indicates when to start, and the one after the slash represents the increment.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="56.78567856785678%" headers="mcps1.3.1.1.2.6.2.4.1.3 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p19294713598">For example, "1/3" in the minutes field means to trigger the function every 3 minutes starting from 00:01:00 of the hour.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_01_0908__en-us_topic_0000001251907928_p12795571833"><a href="#functiongraph_01_0908__en-us_topic_0000001251907928_table20546153220011">Table 6</a> describes several example cron expressions.</p>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_01_0908__en-us_topic_0000001251907928_table20546153220011"></a><a name="en-us_topic_0000001251907928_table20546153220011"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0908__en-us_topic_0000001251907928_table20546153220011" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Example cron expressions</caption><thead align="left"><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row115474321503"><th align="left" class="cellrowborder" valign="top" width="61.74210076857386%" id="mcps1.3.1.1.2.8.2.3.1.1"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p0235111643011">Function Scheduling Example</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="38.25789923142613%" id="mcps1.3.1.1.2.8.2.3.1.2"><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1147332123020">Cron Expression (UTC Time)</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row145471329013"><td class="cellrowborder" valign="top" width="61.74210076857386%" headers="mcps1.3.1.1.2.8.2.3.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p161170357019">12:00 every day</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.25789923142613%" headers="mcps1.3.1.1.2.8.2.3.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p9117113513019">0 0 4 * * *</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row754710321802"><td class="cellrowborder" valign="top" width="61.74210076857386%" headers="mcps1.3.1.1.2.8.2.3.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1279415111093">12:30 every day</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.25789923142613%" headers="mcps1.3.1.1.2.8.2.3.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1711713352017">0 30 4 * * *</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row45473326018"><td class="cellrowborder" valign="top" width="61.74210076857386%" headers="mcps1.3.1.1.2.8.2.3.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p1755173210404">26th, 29th, and 33rd minutes of each hour</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.25789923142613%" headers="mcps1.3.1.1.2.8.2.3.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p10541326407">0 26,29,33 * * * *</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row2054712321205"><td class="cellrowborder" valign="top" width="61.74210076857386%" headers="mcps1.3.1.1.2.8.2.3.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p4117163518015">12:30 from Monday to Friday</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.25789923142613%" headers="mcps1.3.1.1.2.8.2.3.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p105901417101">0 30 4 ? * MON-FRI</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row9547153215010"><td class="cellrowborder" valign="top" width="61.74210076857386%" headers="mcps1.3.1.1.2.8.2.3.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p19255172231013">Every 5 minutes during 12:00 and 14:00 from Monday to Friday</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.25789923142613%" headers="mcps1.3.1.1.2.8.2.3.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p121171835305">0 0/5 4-6 ? * MON-FRI</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_01_0908__en-us_topic_0000001251907928_row14547632502"><td class="cellrowborder" valign="top" width="61.74210076857386%" headers="mcps1.3.1.1.2.8.2.3.1.1 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p3117535606">12:00 every day from January to April</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="38.25789923142613%" headers="mcps1.3.1.1.2.8.2.3.1.2 "><p id="functiongraph_01_0908__en-us_topic_0000001251907928_p111178351012">0 0 4 ? JAN,FEB,MAR,APR *</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</li></ul>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="functiongraph_01_0200.html">Creating Triggers</a></div>
|
||
</div>
|
||
</div>
|
||
|