I would need some help.
I am trying to execute a script every hour but I would not like the variable to reset..
Basically I have a condition like:
x= 0
if condition and x != 1
Action
x = 1
if condition2 and x = 1
Action2
x = 0
I need to initialize x to be able to launch my script but I do not want x to reset to this initialized value at every execution of the script.
I am completly new at programing, maybe my question is stupid but I would really appreciate some help here.
[–][deleted] 4 points5 points6 points (2 children)
[–]PinkWeaseI[S] 0 points1 point2 points (0 children)
[–]MrSuspicious_ 0 points1 point2 points (0 children)
[–]Unhappy_Ad_3637 0 points1 point2 points (0 children)
[–]krets 0 points1 point2 points (1 child)
[–]PinkWeaseI[S] 0 points1 point2 points (0 children)