UM-0085-B09
DT80 Range User Manual
Page 52
RG
Trigger on Time Interval
Figure 8: Time interval schedule
Report schedules can be triggered at regular intervals of time, determined by the DT80’s real-time clock. Intervals can be
an integer number of seconds, minutes, hours or days:
Trigger
Run every n
Range
n
D
Days
1 – 65535
n
H
Hours
1 – 65535
n
M
Minutes
1 – 65535
n
S
Seconds
1 – 65535
n
T
Milliseconds (Thousandths of seconds)
5 – 65535
Note:
The schedule first runs on the next multiple of the interval since last midnight (see
Time Triggers — Synchronizing to Midnight
(P60)
), and subsequently runs every multiple of the interval thereafter. If the interval is not an even multiple of 24 hours, the DT80
inserts a short interval between the last run of the schedule prior to midnight, and the run of the schedule beginning at midnight.
Examples
The following schedule will execute every 5 seconds:
RA5S
The following schedule will execute 6-hourly, at 00:00, 06:00, 12:00 and 18:00:
RX6H
Trigger at Date/Time
Schedules can be triggered at particular times of day, days of the week, or dates. This is done by specifying the desired
second, minute, hour, day, month and day of week on which to trigger, as follows:
[
seconds
:
minutes
:
hours
:
day
:
month
:
weekday
]
where
•
seconds
, minutes and hours specify the time of day at which the schedule should trigger, e.g.
0:0:17
for 5pm.
•
day
and
month
specify the date on which the schedule should trigger, e.g.
1:7
for 1st July.
•
weekday
specifies the day of the week on which the schedule will trigger. This is a number from 0 to 7, where 0
or 7 represents Sunday. The schedule will trigger if either the date or weekday condition matches.
Each of the six fields may be set to either:
•
a single value, e.g.
3
•
a list of values, e.g.
3,4,9
•
a range of values, e.g.
3-12
•
*, which means "all values"
Thus
[0:0:12:*:*:*]
will trigger the schedule daily at noon.
Fields may be omitted starting from the right hand side. Any omitted field is assumed to be '
*
', so
[0:0:12]
is
equivalent to the previous example.
Finally,
/
n
may be appended to a range. This means: include every nth value, so
2-14/4
in the hours field means
trigger at 2am, 6am, 10am and 2pm, while
*/6
would mean 12am, 6am, 12pm and 6pm. As a shortcut, if the end point
of a range is omitted (i.e. a single value is specified to the left of the
/
) then this is interpreted as a range from the
indicated value up to the maximum for the field, e.g. in the hours field
7/2
is equivalent to
7-23/2
.