title: Adding job to incrontab with bash script
body: <p>I'm using Ubuntu 16.04.1 LTS. I have installed incron and added root to incron.allow.</p>
  
  <p>Normally I use <code>sudo incrontab -e</code> to add an incron job with the editor.</p>
  
  <p>I need a command which can be run from a script which will add this line to the incrontab directly:</p>
  
  <pre><code>/home/ci-server/DB_Backups IN_MOVED_TO mv /home/ci-server/DB_Backups/$# /home/backup/$#
  </code></pre>
  
  <p>Once this line is shown via <code>sudo incrontab -l</code> everything should be good to go.</p>
  
  <p>I have found a couple of examples using cron but very little information exists for incron.</p>