I did a search and saw supervisor is a solution, too. But I couldn't find a tutorial on how supervisor is working on heroku.
24 Mayıs 2014 Cumartesi 00:22:30 UTC+3 tarihinde Daniel Farina yazdı: > > On Fri, May 23, 2014 at 2:13 PM, Ozan Yildiz > <[email protected]<javascript:>> > wrote: > > 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? > > You probably want a "worker" process. > > It stays alive for 24 hours (ish) tops, and will be automatically > restarted at that time. > -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
