title: How to run a cronjob every X minutes?
body: <p>I'm running a PHP script in a cronjob and I want to send emails every 5 minutes</p>
  
  <p>My current (crontab) cronjob:</p>
  
  <pre><code>10 * * * * /usr/bin/php /mydomain.in/cromail.php &gt; /dev/null 2&gt;&amp;1
  </code></pre>
  
  <p>The cronmail.php is as follows:</p>
  
  <pre><code>&lt;?php
  $from = 'D'; // sender
  $subject = 'S';
  $message = 'M';
  $message = wordwrap($message, 70);
  mail("myemail@gmail.com", $subject, $message, "From: $from\n");
  ?&gt;
  </code></pre>
  
  <p>But I've not received an email in 30 minutes with this configuration.</p>