# Running commands like ar\_send mail from a HTTP request

**URL:** <https://www.ruby-forum.com/t/running-commands-like-ar-send-mail-from-a-http-request/152262>\
**Category:** Rails\
**Created:** [November 1, 2008, 12:12am UTC](https://www.ruby-forum.com/t/running-commands-like-ar-send-mail-from-a-http-request/152262 "2008-11-01T00:12:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eriwright](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c5a1d2/32.png) [@eriwright](https://www.ruby-forum.com/u/eriwright)\
**Post date:** [November 1, 2008, 12:12am UTC](https://www.ruby-forum.com/t/running-commands-like-ar-send-mail-from-a-http-request/152262/1 "2008-11-01T00:12:29Z")

</div>

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.
