You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • If you change apps, the timer starts again, 1 hour from when you last changed app.

    You could just change the timeout in the code to something shorter, or perhaps the easiest thing is to try and do it 'on the hour'. So right now the timeout is 60*60*1000, but you could make it (60-(new Date()).getMinutes())*60*1000

About

Avatar for Gordon @Gordon started