The solution was easier than I thought. I used APScheduler. <http://pythonhosted.org/APScheduler/> I had to change my code a little bit but that was not too hard to do. Here's very helping tutorial<https://devcenter.heroku.com/articles/clock-processes-python>how to use APScheduler on Heroku.
24 Mayıs 2014 Cumartesi 00:13:41 UTC+3 tarihinde Ozan Yildiz yazdı: > > Hello everyone, > > I have a python file which fetches information from a web site > continuously (It has a while True loop inside). And its process has to be > alive all the time. > Is it possible to do this on Heroku if it is what's the right way to do > this? > > Thanks in advance. > > -Ozan > -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.