User Tools

Site Tools


trigger:Cron

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
trigger:Cron [2017/10/10 00:09]
peternlewis
trigger:Cron [2019/09/10 21:36] (current)
peternlewis [Examples]
Line 32: Line 32:
  
 The [[token:​TriggerValue|%TriggerValue%]] token will hold the current time and date (`yyyy-mm-dd hh:mm`). The [[token:​TriggerValue|%TriggerValue%]] token will hold the current time and date (`yyyy-mm-dd hh:mm`).
 +
 +Remember that your Mac **must** be awake for any trigger to run, and that if the screen is sleeping, locked, or screen saving, then UI actions generally will not work.
  
 ===== Examples ===== ===== Examples =====
Line 44: Line 46:
 * `0 18-23,0-8 * * *` — triggers at every hour outside office hours. * `0 18-23,0-8 * * *` — triggers at every hour outside office hours.
 * `0 12 1 Apr *` — triggers at noon on April 1st. * `0 12 1 Apr *` — triggers at noon on April 1st.
 +* `30 8 17 Apr * 2019` — triggers at 8:30am on 17 April, 2019.
 * `0 12 15 * *` — triggers at noon the 15th of each month. * `0 12 15 * *` — triggers at noon the 15th of each month.
 * `0 12 15 * Mon` — triggers at noon each Monday and the 15th of each month. * `0 12 15 * Mon` — triggers at noon each Monday and the 15th of each month.
Line 49: Line 52:
 * `0-59/5 * * * *` — triggers every five minutes (at :00, :05, :10, etc). * `0-59/5 * * * *` — triggers every five minutes (at :00, :05, :10, etc).
 * `3-59/5 * * * *` — triggers every five minutes (at :03, :08, :13, etc). * `3-59/5 * * * *` — triggers every five minutes (at :03, :08, :13, etc).
- 
 ===== See Also ===== ===== See Also =====
  
trigger/Cron.1507608567.txt.gz · Last modified: 2017/10/10 00:09 by peternlewis