i have a rule that starts a script via ssh at another raspberry pi. the start timestamp is logged in a variable. the script do a lot of things… the last line is to report the “end of script timestamp” to the pimatic variable.
now i do have to timestamps
start timestamp 12:34
end timestamp 12:40
at this point a need a rule to check if the script ended successfully within a timerange of 15 minutes for example.
maybe there is another way without timestamps feel free to suggest.
my script runs 2 times a day (7:00 and 20:00) and i want to know if it runs successfully otherwise i have the restart the script.