On 18 March 2011 01:22, Matt Jones <[email protected]> wrote:
> On Mar 17, 7:00 pm, Alexander Farley <[email protected]> wrote:
>> Hi, my server doesn't allow shell access or scripts. What's the easiest
>> way to schedule a script, from within ruby/rails?
>
> Get a new host that doesn't suck. Seriously, VPS hosting is crazy
> cheap nowadays and doesn't have bizarro restrictions like "no shell
> access".

+1

But if you're stuck where you are, you can use a "webcron" service to
periodically make a request to an action on your server, which then
fires off the process. So have a controller call "WebCron" with
actions like "calculate_stats" and call
http://your.url/web_cron/calculate_stats

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to