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
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
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
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
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