title: Setting up cron job to execute a PHP Script
body: <p>I need to setup a cron job that'll execute a PHP script (used to send iPhone notification to users) every minute. I've tried several code snippets but none of them seem to work. Here's what I've tried:</p>
  
  <pre><code>crontab -e
  </code></pre>
  
  <p>then..in the editor, i typed</p>
  
  <pre><code>* * * * * php  /Users/MYUSERNAME/Desktop/SimplePush/simplepush.php
  </code></pre>
  
  <p>but it doesn't work. I'm running on Mac OS X Lion and will be deploying the service on Linux service but i think the crontab ability shouldn't quite be affected by the OS as both are based on unix core. So, anyway, I need this cronjob to fire <code>simplepush.php</code> every minute to send notifications. How do I do it?</p>