T He Task - Scheduler - Axis 2400 - PHP3 GUIDE Manual

Php3 guide
Table of Contents

Advertisement

$user = "anonymous";
$pass = "pass";
$port = "21";
$passive_mode = "no";
$time = "0";
$delay = "0";
$destination =
$suffix = "date";
$startcount="";
shoot(2,30000);
3.3.3 The task-scheduler
The task-scheduler is used to start programs or scripts when certain events occur. The
scripts can be shell-scripts or PHP3-scripts, and can start the buffering of images or
upload files by using FTP or SMTP.
The task.list is the configuration file for utask which is a task-scheduler similar to
cron or at. The task.list features event-detection, based on date and time, a simple
socket for external events, and the ability to start any task and process management to
avoid runaway childs processes.
At start-up, utask reads the file /etc/task.list and parses it for event entries. If the file
/etc/task.list does not exist when utask is started, then utask goes into a stand-by
mode. When /etc/task.list has been created, or modified, a SIGUSR1 need to be sent
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
PHP3 Guide
to valid file.
The user to login as.
The password to use for the user.
The port to connect to.
Choose passive mode on ("yes" or off
("no").
The time, in seconds, to stay in the
script. Specifies whether to leave the
FTP-function or not, after upload,
($time="0") leave the FTP function
($time="-1") continue uploading
Specifies the (approximate) delay in
milliseconds between image taken when
$time="-1".
The path to append to all uploads. This
path must exist on the server prior to
upload.
$suffix ="default";
Do not change name of the file put on
the server, i.e. overwrite the old file
on server append the date to the name
of the file put on the server.
$suffix ="sequence";
Append a sequence number to the name
of the file put on the server.
$suffix ="sequence_max";
Append a sequence number to the name
of the file put on the server up to a
maximum number
$suffix_counter = 0"; $countermax ="";
Only used if $suffix ="sequence_max"
Only used if suffix =
"sequence"|"sequence_max"
Set parameters for the image-format.
Compose the command to run for image-
taking.
12

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 2400 - PHP3 GUIDE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

2401 - php3 guide2420 - php3 guide240024012420

Table of Contents