title: Cronjob for a zend view?
body: <p>this isn't the best method for doing the task, but how would you run a cronjob of a zend view.</p>
  
  <p>The view is used to generate a file using an <code>output buffer</code> and then save the file on the server, it runs once a day. </p>
  
  <p>Would it just be a matter of calling the url of action of the controller with curl:</p>
  
  <pre><code>23 50 * * curl http://pclite.com/statistics/generate
  </code></pre>
  
  <p>The application required authentication though.</p>