Forum: Ruby on Rails Running commands like ar_send mail from a HTTP request

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
eriwright (Guest)
on 2008-11-01 01:12
(Received via mailing list)
Hi I am new to rails so I apologize if this question seems silly.

I have set up ar_mailer in my app and its working great.  the problem
is I will be running my app on  a  shared hosting plan where I don't
have access to the command line.

The service says they can schedule tasks using HTTP request which
makes sense but how do I get the command "ar_sendmail" to run from a
controller.  Normally I would just run that command or a derivative of
it from the root of my app.

Thanks in advance.
This topic is locked and can not be replied to.