Schedule Scripts
Combine your two scripts in the same script in the following manner:
begin
if who = 71 then begin
{script for Matrix goes here}
end;
if who = 72 then begin
{script for Alex goes here}
end;
end;
Perhaps this combined script is saved under the name of DailyRun.spt.
In the scheduler section you would have two entries so we get two time
triggers. One trigger will call the script and set the Who variable
to a value of 71. The other trigger will call the script and set the
Who variable to a value of 72.
Scheduler examples:
x 16:05 Script DailyRun 71
x 20:30 Script DailyRun 72
So the 1st trigger will trip at 16:05 and run the Who = 71 section in the
script. Then at 20:30 the 2nd trigger will trip and run the Who = 72
section of the script. Of course you will choose your own times, names,
and Who values. What I am trying to do here is illustrate is how to
have two ESPL activities scheduled to run at different times.
|