trigger:Cron
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| trigger:Cron [2019/09/11 01:36] – [Examples] peternlewis | trigger:Cron [2025/03/27 05:08] (current) – [Examples] peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The *Cron trigger* (v8+) lets you execute a macro periodically while you are logged in. | + | ====== Cron Trigger ====== |
| + | |||
| + | The *Cron* | ||
| The Cron format lets you specify when a trigger will fire based on the time of day and and day of month and week. | The Cron format lets you specify when a trigger will fire based on the time of day and and day of month and week. | ||
| Line 37: | Line 39: | ||
| ===== Examples ===== | ===== Examples ===== | ||
| - | * `1 0 * * *` — triggers at one minute past midnight each day. | + | ^ Cron Setting ^ When Macro Triggers ^ |
| - | * `45 23 * * 6` — triggers at 23:45 (15 minutes before midnight) near the end of each Saturday. | + | | `1 0 * * *` | AT one minute past midnight each day | |
| - | * `0 12 * * Mon` — triggers at noon each Monday. | + | | `45 23 * * 6` | AT 23:45 (15 minutes before midnight) near the end of each Saturday |
| - | * `0 18 * * Fri` — triggers at 6pm each Friday. | + | | `0 12 * * Mon` | AT noon each Monday |
| - | * `0 9,12,18 * * *` — triggers at 9am, 12am and 3pm each day. | + | | `0 18 * * Fri` | AT 6pm each Friday |
| - | * `* * * * 1-5` — triggers at every minute on workdays. | + | | `0 9,12,18 * * *` | AT 9am, noon, and 3pm each day | |
| - | * `*/15 * * * *` — triggers at every quarter hour. | + | | `* * * * 1-5` | AT EVERY minute on workdays |
| - | * `0 18-23,0-8 * * *` — triggers at every hour outside office hours. | + | | `*/15 * * * *` | AT EVERY quarter hour | |
| - | * `0 12 1 Apr *` — triggers at noon on April 1st. | + | | `0 18-23,0-8 * * *` | AT EVERY hour outside office hours | |
| - | * `30 8 17 Apr * 2019` — triggers at 8:30am on 17 April, 2019. | + | | `0 12 1 Apr *` | AT noon on April 1st | |
| - | * `0 12 15 * *` — triggers at noon the 15th of each month. | + | | `30 8 17 Apr * 2019` | AT 8:30am on 17 April, 2019 | |
| - | * `0 12 15 * Mon` — triggers at noon each Monday and the 15th of each month. | + | | `0 12 15 * *` | AT noon the 15th of each month | |
| - | * `0 12 15 * +Mon` — triggers at noon each 15th of each month if it is a Monday. | + | | `0 12 15 * Mon` | AT noon each Monday and the 15th of each month | |
| - | * `0-59/5 * * * *` — triggers every five minutes (at :00, :05, :10, etc). | + | | `0 12 15 * +Mon` | AT noon each 15th of each month if it is a Monday |
| - | * `3-59/5 * * * *` — triggers every five minutes (at :03, :08, :13, etc). | + | | `0-59/5 * * * *` | EVERY five minutes (AT :00, :05, :10, etc) | |
| + | | `3-59/5 * * * *` | EVERY five minutes (AT :03, :08, :13, etc) | | ||
| + | | `30 8 1-7 * +Sat` | AT 8:30 am on the first Saturday of each of month | | ||
| ===== See Also ===== | ===== See Also ===== | ||
| - | * [[https:// | + | === Actions === |
| - | * [[https:// | + | |
| + | * [[: | ||
| + | |||
| + | === Tokens === | ||
| + | |||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token:TriggerValue|%TriggerValue%]] | ||
| + | * [[:Tokens|See all Tokens]] | ||
| === Triggers === | === Triggers === | ||
| Line 63: | Line 76: | ||
| * [[Idle]] trigger | * [[Idle]] trigger | ||
| * [[/ | * [[/ | ||
| + | |||
| + | ===== Forum ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
trigger/Cron.1568165804.txt.gz · Last modified: by peternlewis
