O
O
Oleg Popov2017-04-08 12:58:56
Mikrotik
Oleg Popov, 2017-04-08 12:58:56

Why is the script only executed once?

Registered a script in PPP profiles for a PPPoE client. But it works only once - after loading the device and raising this client. If the client lies down and then rises, then the script is already running.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
HawK, 2017-04-08
@HawK3D

It is very similar to the fact that scripts in /ppp profile only work on disable/enable ppp interface state switches, and running/not running state switches do not run scripts. You can add your script to /system script and schedule it to run at the desired interval in /system scheduler.

O
Oleg Popov, 2017-04-08
@Maestrosoft

Thanks for the answer!
Before that, it was like that for me - the script on the schedule was launched once a minute ....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question