title: Couldn't package a cron job using sbt-native-packager when building a deb bundle
body: <p>I am trying to package a cron as part of my debian package (<a href="https://github.com/indykish/megam_akka.git" rel="nofollow">https://github.com/indykish/megam_akka.git</a>).</p>
  
  <p>The debian package is built using the sbt-native-packager.
  I placed the cron script inside my bin directory as here <a href="https://github.com/indykish/megam_akka/blob/master/bin/megamherk.cron.d" rel="nofollow">https://github.com/indykish/megam_akka/blob/master/bin/megamherk.cron.d</a></p>
  
  <p>I changed my build.sbt to pickup the megamher.cron.d as here
  <a href="https://github.com/indykish/megam_akka/blob/master/build.sbt" rel="nofollow">https://github.com/indykish/megam_akka/blob/master/build.sbt</a> </p>
  
  <p>I have attached the snippet of code here:</p>
  
  <pre><code> linuxPackageMappings in Debian &lt;+= (baseDirectory) map { bd =&gt;
   (packageMapping((bd / "bin/herk_stash") -&gt; "/usr/share/megamherk/bin/herk_stash")
   withUser "root" withGroup "root" withPerms "0755")
   }
  
  linuxPackageMappings in Debian &lt;+= (baseDirectory) map { bd =&gt;
  (packageMapping((bd / "bin/megamherk.cron.d") -&gt; "/etc/cron.d/megamherk")
  withUser "root" withGroup "root" withPerms "0755")
  }
  </code></pre>
  
  <p>I ran: </p>
  
  <pre><code>sbt clean compile
  
  sbt dist:dist
  
  sbt debian:packageBin
  </code></pre>
  
  <p>The generated debian bundle inside the target directory doesn't have the cron bundled. </p>
  
  <p>I referred this debian documentation (<a href="http://www.debian.org/doc/manuals/maint-guide/dother.en.html#crond" rel="nofollow">http://www.debian.org/doc/manuals/maint-guide/dother.en.html#crond</a>)</p>
  
  <p>Am I missing something here ? How do I make sbt-native-package pickup a cron job ? </p>