Community discussions

MikroTik App
 
LincolnCG
just joined
Topic Author
Posts: 2
Joined: Mon Mar 15, 2021 12:02 pm
Location: Catalunya
Contact:

Triggering scripts remotely

Mon Mar 15, 2021 12:13 pm

Device, Routerboard 2011UiAS-2HnD

I have some scripts that I would like to be able to be triggered remotely, from within my local network.

I'm surprised that option to create buttons on the Mikrotik App doesn't already exist.
Is there anyway by going to a web address, or some other meccanism that would work on Windows as well as Android?

Without having to buy an external App.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3291
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Triggering scripts remotely

Tue Mar 16, 2021 1:48 pm

You can use a scheduled script that uses /tools fetch to get some information. If the information on the web page changes, do some other in the script.

See Return value to a variable here:
https://wiki.mikrotik.com/wiki/Manual:T ... a_variable

Who is online

Users browsing this forum: eldoncito2019 and 24 guests