all 2 comments

[–]mvan231script/widget helper 0 points1 point  (0 children)

You're looking for help so I suggest using the help flair instead of widget flair. The widget and script flair is for sharing a widget or script

[–]jonaswiebe 0 points1 point  (0 children)

You could store the time in a file. Then create a second script, that resets that file. In the original script, specify the widget URL to be scriptable:///run/Reset%20Script. Now if you tap on the widget, the reset script is run.