Hello
wanted to know if there is any way to run a script when I see a connection to the router?
the line in the log is -
user test logged out from 10.0.0.189 via ftp
when I see only this line I will run script1;
I was thinking about something like:
if last line of log =“user test logged out from 10.0.0.189 via ftp” do script1
thanks ,
efaden
2
You have to schedule it and just check the log every few minutes. There is no way to trigger the script on the event
Sent from my SCH-I545 using Tapatalk
schedule what?
also I have try to to this
/file print file=ftp where creation-time<[/system clock get time]
that way I will have all the files that created so far - but I get nothing , why?
NAME TYPE SIZE CREATION-TIME
efaden
4
I would write a script to look through the log and see if you see the “connection” message.