title: Is there a way to schedule Heroku maintenance mode in advance?
body: <p>We have an app running on heroku that we need to put into maintenance mode for an hour during the night while Amazon performs maintenance on the RDS instance we are using.</p>
  <p>Does anyone know of a good way to schedule this?</p>
  <p>I could create a cron job on one of the machines in the office to do it, but that seems a bit inelegant.</p>
  <p>I'd rather do it from within the application itself, perhaps using <code>delayed_job</code> (which we are already using), or from a scheduled task. However I can't find any documentation about interacting with the Heroku management system from within a running application. Am I just not searching for the right thing?</p>