I have written a function that I would like to fire off every three minutes. Is there a way to do this without using a javascript page refresh? I'll have some videos and interactive content on the site that I'm afraid a page refresh would interfere with.
Thanks in advance -
sleepydad
Fire function at intervals?
Moderator: General Moderators
Re: Fire function at intervals?
on server side use cron (unix/linux)
on client site use js (timeout_id = window.setTimeout(func|code, delay))
on client site use js (timeout_id = window.setTimeout(func|code, delay))