Community discussions

 
woro
newbie
Topic Author
Posts: 47
Joined: Sun May 24, 2015 12:47 am

persist state of a variable inbetween script runs

Sat Nov 17, 2018 11:55 pm

Hi,

I'm implementing a script which checks some local configuration and want to notify an external (rest)api of a change via /tool fetch.
This is working fine already but it should run quite often and I was wondering if I can reduce the api access to just transmit changes. But for this I would need to know the result of the last execution. Is this possible somehow?
 
woro
newbie
Topic Author
Posts: 47
Joined: Sun May 24, 2015 12:47 am

Re: persist state of a variable inbetween script runs

Sun Nov 18, 2018 11:50 pm

Sorry for the beginner question.
Found it now by using :global variables.

Who is online

Users browsing this forum: No registered users and 4 guests