title: Heroku Getting Cron Logs
body: <p>I've got a (free) cronjob running on a Heroku app and I'm trying to get the logs as they ran, but there doesn't seem to be any easy way to get the most recent logs of a cronjob.</p>
  
  <p>On the <a href="http://devcenter.heroku.com/articles/cron#inspecting_output" rel="nofollow">heroku website</a> it says <code>heroku logs --ps cron.1</code></p>
  
  <p>But it seems like each cron instance creates a new process, it's now at cron.51. Running <code>heroku logs --ps cron.51</code> works, but I don't want to have to keep track of the numbers.</p>
  
  <p>Is there a way to get the logs of the most recent cronjob run?</p>
  
  <p>Thanks!</p>