I want to set a timer on ser开发者_开发百科ver side to run a method at a specific time. Has anybody done this using just rails and no AJAX? Thanks a lot. I'd appreciate any input :)
update: I've read about Delayed Job written by the amazing guys at Shopify. I think this might just do the trick
Your question is a little too vague to answer concisely. You may be looking for one of the following things:
- A client-side redirect on a timer with
http-equivheaders. - A
crontask that executesrails runneron a regular schedule. - A timeout on an operation being performed, such as using
Timeout.
加载中,请稍侯......
精彩评论