Difference between revisions of "Constraint: Time Since Boot"

 
Line 1: Line 1:
<span style="color: #0E9549; font-size: 24px;">'''About this constraint '''</span>
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on how long the device has been running since boot.</pre>
  
This constraint can be used to allow/prevent a macro being invoked depending on how long the device has been booted.
+
''' Options '''
 +
 
 +
* '''Time Since Boot''' - Set a minimum or maximum time
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Prevent heavy operation if the phone has recenlty booted and may still be initialising''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Regular Interval: 1 hour</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Run Macro: System Backup</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Time Since Boot - Greater than 1 minute</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: Device Boot|Device Boot Trigger]]

Latest revision as of 13:55, 9 January 2026

This constraint allows or prevents a macro/feature from running based on how long the device has been running since boot.

Options

  • Time Since Boot - Set a minimum or maximum time

Example

Example 1: Prevent heavy operation if the phone has recenlty booted and may still be initialising

Triggers

Regular Interval: 1 hour
Actions

Run Macro: System Backup
Constraints

Time Since Boot - Greater than 1 minute

See Also