Re: Keeping your Heroku app awake

2012-02-22 Thread Nick
An option for a single site is http://www.pingdom.com/ They can 'ping' your site every hour thereby keeping it awake. It's free for one site. On Feb 21, 8:38 am, Sejensen sejen...@gmail.com wrote: Hi Neil and others These recommandations for Rails apps looks very good, But in my case i use

Re: Heroku Scheduler API ?

2012-02-22 Thread Mark Pundsack
Sorry, there's no API for scheduler. Can I ask what you want one for? On Feb 22, 2012, at 3:05 AM, Michel Pigassou wrote: Hi Is there an API for the Heroku Scheduler (https://addons.heroku.com/scheduler) or do we have to go through the web UI ? -- You received this message because you

Re: Heroku Scheduler API ?

2012-02-22 Thread kowsik
I second the the API and/or the CLI integration. We have multiple apps with various background processes. It's hard to get a global perspective of what exactly is happening in the app, since the scheduler tasks are not in the Procfile. So I would have to check the Procfile, do a heroku ps, go to

Re: Heroku Scheduler API ?

2012-02-22 Thread kowsik
Didn't know that. I thought the scheduler can only run commands, like rake tasks and what not. Assuming my Procfile has this: cleanup: bundle exec rake jobs:cleanup How exactly can the scheduler reference the cleanup process without duplicating the 'bundle exec ..' line? K. --- http://blitz.io

Re: Same-dyno communication via TCP sockets (for worker task)

2012-02-22 Thread Adam Wiggins
How about a FIFO? Use mkfifo to create a named pipe inside your ephemeral filesystem, then launch your two child processes. One can write to it, the other can read. So using your bash example: $ heroku run bash ~ $ mkfifo myfifo ~ $ cat myfifo | ./run_listener_process ~ $

Re: Database CPU

2012-02-22 Thread Carson Gross
Will do, thanks Peter. On Feb 22, 5:51 pm, Peter van Hardenberg p...@heroku.com wrote: On Tue, Feb 21, 2012 at 12:51 PM, Carson  Gross carsongr...@gmail.com wrote: Is there a way to get this information? Not today -- we have some customers who look at more database specific information,