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 @k0ws1k On Wed, Feb 22, 2012 at 8:04 AM, Mark Pundsack <m...@heroku.com> wrote: > Thanks for the feedback. > > In case this wasn't obvious, Scheduler can certainly reference elements in > the Procfile. If you've got a "cleanup" entry defined, for example, you can > just set up Scheduler to run "cleanup" every hour, or whatever. > > On Feb 22, 2012, at 7:58 AM, kowsik wrote: > >> 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 the >> scheduler's dashboard and see what's scheduled for when to really >> understand the app. This is especially important when we add new >> members to the team. >> >> Maybe the scheduler should reference a named element in the Procfile? >> >> K. >> --- >> http://blitz.io >> @k0ws1k >> >> On Wed, Feb 22, 2012 at 7:13 AM, Mark Pundsack <m...@heroku.com> wrote: >>> 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 are subscribed to the Google Groups >>> "Heroku" group. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msg/heroku/-/9OFedCoHRF4J. >>> To post to this group, send email to heroku@googlegroups.com. >>> To unsubscribe from this group, send email to >>> heroku+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/heroku?hl=en. >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Heroku" group. >>> To post to this group, send email to heroku@googlegroups.com. >>> To unsubscribe from this group, send email to >>> heroku+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/heroku?hl=en. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to heroku@googlegroups.com. >> To unsubscribe from this group, send email to >> heroku+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to heroku@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.