title: How to start/stop a cronjob using PHP?
body: <p>If I type <code>crontab -l</code> in the command-line I can see the following line:</p>
  
  <pre><code># * * * * * /usr/bin/php /home/user/every_minute_script.php
  </code></pre>
  
  <p>To <strong>start</strong> this cronjob, I need to edit the file using <code>crontab -e</code> command, remove the comment character at the beginning of the line, save the edited file, and exit the editor.</p>
  
  <p>To <strong>stop</strong> this cronjob, the same steps, but adding the comment character at the beginning of the line.</p>
  
  <p>I want to achieve exactly the same effect using a <strong>PHP script</strong>, instead of manually editing the file.</p>