Re: ubus running key status

2024-03-01 Thread Paul D
flag changes it's value quickly. How about using the return code of the script? Thanks, Ravi -Original Message- From: openwrt-devel On Behalf Of Paul D Sent: Friday, February 23, 2024 7:35 PM To: openwrt-devel@lists.openwrt.org Subject: Re: ubus running key status WARNIN

RE: ubus running key status

2024-02-29 Thread Ravi Paluri (QUIC)
we are not able to detect the transition of "running" flag to false from true as the flag changes it's value quickly. Thanks, Ravi -Original Message- From: openwrt-devel On Behalf Of Paul D Sent: Friday, February 23, 2024 7:35 PM To: openwrt-devel@lists.openwrt.org Sub

RE: ubus running key status

2024-02-29 Thread Ravi Paluri via openwrt-devel
the transition of "running" flag to false from true as the flag changes it's value quickly. Thanks, Ravi -Original Message- From: openwrt-devel On Behalf Of Paul D Sent: Friday, February 23, 2024 7:35 PM To: openwrt-devel@lists.openwrt.org Subject: Re: ubus running key stat

Re: ubus running key status

2024-02-23 Thread Paul D
On 2024-02-23 13:43, Ravi Paluri (QUIC) wrote: Can you let us know, is there a way to get a notification when the "running" key value moves to "false" from "true"? OR is there any ubus API to which we can register a callback, which will then be invoked when the execution is complete? Not

ubus running key status

2024-02-23 Thread Ravi Paluri (QUIC)
Hi OpenWRT team, We are working on ubus and running a script using ubus_invoke API. We observed that when the script gets scheduled for execution and then later once it completes execution, the "running" key value (see below command o/p) is changing to "false" from "true". ubus call service