Community discussions

 
ceylan
just joined
Topic Author
Posts: 23
Joined: Sat Feb 10, 2018 3:03 pm
Location: CYPRUS
Contact:

alternative to scheduler

Wed Apr 10, 2019 2:53 pm

for example i am writing any script as follows...
system script add .....
/interface ethernet monitor ether1 once do={
:if ($rate = "10Mbps") do={
/system.........
}}
or
i want to get sms instant by the router when any user is active
script is working when i press "run script" button. but i want the script always check the variables and when rate =10Mbps start do command.i know i can use "system scheduler" bu i want to know if i have another possibility?
 
pe1chl
Forum Guru
Forum Guru
Posts: 5920
Joined: Mon Jun 08, 2015 12:09 pm

Re: alternative to scheduler

Wed Apr 10, 2019 3:34 pm

In this case, no.
In other places there is sometimes the option to run a script when a certain event occurs, e.g. a PPP connection is made, a DHCP lease is issued, etc.
But not for ethernet connection.
 
User avatar
AlainCasault
Trainer
Trainer
Posts: 624
Joined: Fri Apr 30, 2010 3:25 pm
Location: Laval, QC, Canada
Contact:

Re: alternative to scheduler

Wed Apr 10, 2019 3:56 pm

Actually, you could use netmonitor.... I think that's what it's called.

Once you reach a threshold, either in our out, the script is run.

Sent from my cell phone. Sorry for the errors.

___________________________
Alain Casault, Eng.
If I helped you, let me know!
 
ceylan
just joined
Topic Author
Posts: 23
Joined: Sat Feb 10, 2018 3:03 pm
Location: CYPRUS
Contact:

Re: alternative to scheduler

Wed Apr 10, 2019 4:33 pm

mmm I understand.. no alternative :(... i still like MİKROTİK :) Thnks for support...
 
pe1chl
Forum Guru
Forum Guru
Posts: 5920
Joined: Mon Jun 08, 2015 12:09 pm

Re: alternative to scheduler

Wed Apr 10, 2019 4:38 pm

Traffic Monitor... but that monitors the actual transmit/receive bitrate, not the negotiated rate of ethernet.
May you can somehow use it.
 
ceylan
just joined
Topic Author
Posts: 23
Joined: Sat Feb 10, 2018 3:03 pm
Location: CYPRUS
Contact:

Re: alternative to scheduler

Wed Apr 10, 2019 5:01 pm

YES İ USE TRAFFIC MONITOR... THNKS

Who is online

Users browsing this forum: No registered users and 31 guests