title: How to test a cron job?
body: <p>I'm using Ubuntu Linux 10.0.4.  I want to run a script every 6 hours, every day.  When I issue <code>sudo crontab -e</code>, I see: </p>
  
  <pre><code># m h  dom mon dow   command
  * 00,06,12,18 * * * /opt/scripts/selenium/run_nis_inf_tests.sh
  </code></pre>
  
  <p>However, I'm not seeing the expected outcome from my script, and I'm not even sure if its running.  Is there a way to test, short of waiting until the specified time, that the script is running properly.  Or, how can I view the errors the script is generating? - Dave</p>