You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Saves oldStatus to a file (maybe called state.json or whatever) and loads it on startup, so that it won't re-post a status update after a restart unless the status actually changed.
Add a timestamp or a counter or whatever, so that the script will only post an update after the new status has been detected for 120 seconds / 2 retries or whatever configurable amount of seconds/retries. This way the updates won't be too annoying when the website gets a quite restart.
The text was updated successfully, but these errors were encountered:
Some improvements can be made to this script:
oldStatus
to a file (maybe calledstate.json
or whatever) and loads it on startup, so that it won't re-post a status update after a restart unless the status actually changed.The text was updated successfully, but these errors were encountered: