Repeat javascript function at **:**:00
I can run a function every 60 seconds doing this:
Timer: function() {
setInterval(fxn, 60000)
},
But is there a way to run a function at the turn of every minute? IE at
11:20:00, 11:21:00, etc?
No comments:
Post a Comment