|
EXAMPLE: How to
Requirement is to archive a station output
in 1 hour segments, for later review.
Step 1:
Set up the required encoding project, making sure to use the
%D_% and %T_% tags in the output filename(s) to pass the date and
time stamps into the filename.
Step 2:
Add a scheduled task using the Windows Scheduler or other, to
run once every hour. Create a SetupHourlySchedule.cmd file as indicated
at the end of this section. It will configure the Windows XP scheduler
to run the command once every hour, every day - you can modify this
to change the scheduled timings - i.e. to match station output times.
You must also change the /ru and /rp values to match the machine
name, username and password that you are logged in as.That is in
the CMD example files, change the following:
YELLOW, to be YOUR project name
COMPUTERNAME, to be YOUR Digital Rapids Stream
system
USERNAME, to be YOUR login for the system.
PASSWORD to be YOUR password for the above
user
All you need to do once you finish editing
the file is double click it and it will load the commands into the
task manager.
Step 3:
As the scheduled times are reached, the previous encode (if
any) will be stopped, and a new one started, to a new time stamped
filename.
Remember, for the tasks to run, StreamSchedule
must be running.

SetupHourlySchedule.cmd (Text file)
schtasks /create /sc DAILY /tn "StreamSched01"
/tr "\"c:\Program Files\Digital Rapids Stream\StreamSchedule.exe\"
c:\Program Files\Digital Rapids\Stream\Projects\YELLOW.prj"
/st 00:00:00 /ru COMPUTERNAME\USERNAME /rp PASSWORD
schtasks /create /sc DAILY /tn "StreamSched02"
/tr "\"c:\Program Files\Digital Rapids\Stream\StreamSchedule.exe\"
c:\Program Files\Digital Rapids Stream\Projects\YELLOW.prj"
/st 01:00:00 /ru dan-6850\dan.englert /rp password
Continue "StreamSched03" for st
02:00:00 to StreamSched24" for st 23:00:00
Result when CMD file is run:
|