User Guide

PHP3 Guide
Axis Communications AB does not provide support for application development of any kind. The
information here is provided "as is", and there is no guarantee that any of the examples shown
will work in your particular application.
Revision 0.91 June 2001 13
to utask in order for it to reread /etc/task.list. This can be done by issuing the system
(Telnet) command 'kill -10 <utask-pid>'.
3.3.3.1 Syntax
An entry in /etc/task.list has the following syntax :
<event>%<program>:<args>;
<event> = is the event description
<program> = is the program to start
<args> = are the arguments to be passed to <program>.
<event>
The maximum number of events is 64. An event description should contain one or
more of the following definitions.
Definition Meaning
[hh:mm-hh:mm] - Time period
time( h(...) m(...) s(...) ) - Time(hours,minutes,seconds)
[dd/mm-dd/mm] - Date period
date( w(...) m(...) d(...) ) - Date(day,month,date)
pattern( (...) (...) ... ) - External events
once - Start only once
immune - Never interrupted
Time and Date values are given as a list of values (separated by a comma) and/or
intervals (separated by a minus sign):
Hour = 0-23
Minute = 0-59
Seconds = 0-59
Day of the week = 0-6 ('0' means Sunday)
Month = 1-12
Date = 1-31.
Patterns are defined as strings and follow the specific format <Client>:<Data>;
<Client>
Is the client application sending <Data> to utask. The Data has to be atomic i.e. if the
client wants to notify two events at the same time, it has to write