>From my heroku console prompt, "puts `wget -qO- www.google.com`" works
(produces the text of that page).

Since the local filesystem is read-only, you'll have to either have it
output to stdout, or write to a directory in /tmp (keep in mind that
dynos do not share /tmp directories).

Also, dynos have a 30s timeout, so you won't be able to do anything
complicated with wget unless you run it from a background worker.

Overall, you'd be better off using actual ruby tools to do most things
wget can do - check out httparty (http://httparty.rubyforge.org/)

On Apr 16, 9:52 pm, barrett <ccmbru...@gmail.com> wrote:
> Can I use wget from my heroku app?
>
> thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
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.

Reply via email to