Michael Baldock wrote in post #972049:
> Cool, learning plenty here, cheers!
>
> I've got a logger method in the class now, and so taken away the
> unnecessary inheritance. Cheers!
>
> My heroku app is working for now, although I'm not sure it'll stay
> working, it seems to stop fetching events after a day, and needs a new
> git push, with changes to specifically the "def do_search(event_search)"
> method which is the one that does the work of getting the url, and
> parsing the html. A bit weird, as it works every time on local machine.
> I've asked them about this on the heroku mailing list as well.
Why don't you set up a cron job or use Resque or delayed_job to run the
job periodically?
>
> Thanks for your help!
>
> M
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment