title: Handling cronjobs in a MVC framework
body: <p>At work we've developed our own MVC framework which provides us with as many as possible automated code-generation/handling. A few minutes ago I was talking with my collegue about how to handle cronjobs via a(ny) framework.</p>
  
  <p>Basically we have cronjobs for:</p>
  
  <ol>
  <li>Mailing purposes </li>
  <li>Update procedures</li>
  <li>Garbage collection</li>
  </ol>
  
  <p>What is your opinion/vision/best-practise on how to set up cronjobs? 
  Is a cronjob just a PHP file using some controllers which use models to perform their tasks, or should a class be created for this?</p>
  
  <p>In our opinion a cronjob is a procedure which needs controllers to do their work. What's your opinion?</p>