Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 400

Advertising
background image

Section 9. Automating Tasks with Task Master

Always enter the full path when specifying the file to execute.

Otherwise, the file may not be found or may not run as expected.

The Task Master can process only one command in a command

line. If multiple commands are required, place the entire

command sequence in a batch file and execute the batch file from

the Task Master. (If you are running Windows as a restricted user

or if you are running LoggerNet as a service, you must explicitly

set all file paths in the batch file.)

The Task Master may not be able to process certain characters on

a command line, such as the redirect (<) character. Use the

Window’s cmd function with the /c option to process the

command (e.g., cmd /c ““cora_cmd <run.script”). The cmd

function will carry out the command in the subsequent string and

then terminate.

Call Station – Select this check box to trigger a call to a station when a task

event is triggered. Data will be collected according to settings in the Setup

Screen for the datalogger. Use the drop-down list box to select the station that

will be called.

FTP Settings – This check box is only available when configuring an Add

After task with the Station Event Type set to After File Closed. Select this

check box to transfer the file to a designated FTP directory with the following

settings:

Host Address

The FTP server to which the file will be sent.

User ID

The username on the FTP server.

Password

The user’s password on the FTP server

Remote Folder

Selects the folder on the FTP server to which the file will be transferred.

The file will be saved to this folder under the FTP server’s FTP root

directory. Press the button to browse to the desired directory.

FTP Protocol

Use the check box to select the FTP Protocol to use. The options are FTP

(File Transfer Protocol), SFTP (SSH FTP), and FTPS (FTP over TLS).

FTP Queue Size

If an FTP fails for some reason, the file can be queued up to be sent in the

future when the issue that caused the failure has been resolved. An FTP

will only be attempted each time the task is triggered.

The FTP Queue Size determines how many files the Task Master will

keep in the queue to attempt to FTP again.

NOTES

9-10

Advertising