Community discussions

MikroTik App
 
WildWurger
just joined
Topic Author
Posts: 24
Joined: Mon Jan 13, 2014 2:36 am

Multiple scripts with 1 scheduler

Fri Feb 21, 2014 4:32 pm

Hi all,

Is that possible that I want to run a few scripts with only 1 scheduler?

If so, may I know how it can be done?

Thank you very much in advance
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Multiple scripts with 1 scheduler

Fri Feb 21, 2014 4:36 pm

If you want to run them one after the other, you could simply store each script in "/system script", and then at the scheduler, do

ros code

/system script run script1
/system script run script2
# etc.
If you want to execute them concurrently... AFAIK, yeah, you can't do that from a single scheduler item, but you CAN create multiple scheduler items that all activate at the same time, which in effect runs several scripts at once.
PEAR2_Net_RouterOS(1.0.0b6) - My API client in PHP
(Rate my posts? If you want... no pressure...)
 
WildWurger
just joined
Topic Author
Posts: 24
Joined: Mon Jan 13, 2014 2:36 am

Re: Multiple scripts with 1 scheduler

Fri Feb 21, 2014 4:47 pm

wow this is exactly what i want

thanks :D

Who is online

Users browsing this forum: No registered users and 10 guests