If I want to run a script 5 times at 5:00, how would I schedule it?
In other words, how would I create the "while" statement for the event?
:for cnt from=0 to=5 step=1 do={
<your commands here>
}
[user@rb750g] > :for loop from=0 to=5 do={ :put $loop }
0
1
2
3
4
5
:if ([/system scheduler get <scheduler name> run-count] > 5) do={
/quit
}
<rest of script to run>..