Is this the appropriate/best way to achieve this?setInterval(function(){ if(currentTime === actionTime){ doAction(); } }, 1000); Basically, the app is running this interval and if the current time is set to the action time (let's say, 12:00pm every day), then it runs the action.
Submitted January 17, 2017 at 12:50AM by Garmichael
No comments:
Post a Comment