Eagle66 Posted October 14, 2013 Share Posted October 14, 2013 (edited) Hi, I have a timer. I want a timer, that even runs at a closed browser. Example of my problem: After Button-click: There is a delay of e.g. 10 minutes, then someting happens. Unfortunately this only works with an opened browser but not when browser was closed. How do I do that?Thanks in advance and kind regards Edited October 14, 2013 by Eagle66 Quote Link to comment Share on other sites More sharing options...
Ch0cu3r Posted October 14, 2013 Share Posted October 14, 2013 You can't. HTTP is a stateless protocol. What are you trying to do? Quote Link to comment Share on other sites More sharing options...
requinix Posted October 14, 2013 Share Posted October 14, 2013 If you are okay with minute precision (so your thing executes within 60 seconds of when you want it to) then cron is the way to go: record the "something" somewhere, then make a script that executes (via cron) every minute. That script gets all the "somethings" it's supposed to do and does them. Quote Link to comment Share on other sites More sharing options...
Eagle66 Posted October 14, 2013 Author Share Posted October 14, 2013 after Button-click it must be a delay of 30 minutes and not seconds. Does this work with cronjobs? Thanks a lot and best regards. Quote Link to comment Share on other sites More sharing options...
requinix Posted October 14, 2013 Share Posted October 14, 2013 Precision. As in how precisely the 30 minute delay kicks in. As in if I start it at 2:00:00 and it's scheduled for 2:30:00, is it a problem if it executes as late as 2:30:59? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.