Community discussions

MikroTik App
 
CloudCanary
just joined
Topic Author
Posts: 1
Joined: Mon Apr 18, 2016 4:39 am

Feature request: Get current job Id

Mon Apr 18, 2016 4:46 am

If we use: execute the RouterOS system returns the id of the new Job created (without a parent) to control the Job from the outside.

If you have multiple parallel jobs running the same script (due to multiple schedules), from the inside it is impossible to know the ID of the current job to take different actions.

This should be very easy to develop and could be provided for example by:
1. Using a special local variable like used with function parameters. Eg $99 or $myJobId if you prefer
2. Using a new command like :getJobId

PLEASE!! I need this feature urgently, I am currently programming autonomous solutions using scripting on Mikrotik and now I'm stuck.

Can anyone tell me if this feature will be included and when approximately?

PLEASE PLEASE

Who is online

Users browsing this forum: DanMos79 and 80 guests