Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am thinking of starting a website, but for it to work, I need a ruby script constantly running in the background.

Can you recommend any web hosts that allow this?


share|improve this question

migrated from stackoverflow.com Feb 20 '11 at 4:13

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

If you have VPS or dedicated hosting then you can set up cronjob for this.
Heroku lets you run cron job as addon
HostingRails allows it.
EngineYard allows it too
I'm sure most others will do.

share|improve this answer

Any host which allows you to have crontab entries (use @reboot as the start time) should work unless your process specifically breaks their Terms of Service in some way.

share|improve this answer

not bluehost they kill long running processes, though I guess you could just have a cron job that restarts it every minute...

share|improve this answer

As mootinator said, any host which allows you to run cron jobs should allow it as long as your process isn't against their TOS. With a VPS or dedicated server you can pretty much run whatever you want, but even most decent shared hosts will allow you to run background processes as long as they're not too resource intensive.

For example, DreamHost allows you to run persistent background processes on their shared hosting so long as they aren't disruptive and don't involve IRC, bittorrent, or streaming media. Otherwise, you need to switch to a VPS plan.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.