setInterval for longer hours
<p>Is setInterval method reliable for longer hours?
I have a requirement to trigger functions for once everyday and/or once everyweek.
So am using <code>setInterval(myFunc, 86400000)</code> //For one day. similarly calculated number of milliseconds for one week
Is this a good approach. or is there anyother technique i can use.</p>
