title: Crontab -e messing up paths in jar-file
body: <p>I am running a jar-file through crontab -e with paths such as &quot;../folder/dbfile.db&quot;.</p>
  <p>If I run that jar-file through the terminal in Ubuntu, it works.</p>
  <p>However, if I run it in crontab -e, the paths start from /home/myUser/ or something like that.</p>
  <p>How would I go about solving it?</p>
  <p>Here is my crontab -e</p>
  <pre><code>@reboot sleep 60 &amp;&amp; java -jar Desktop/IP/server.jar &gt; Desktop/IP/logs/server.log 2&gt;&amp;1
  @reboot sleep 120 &amp;&amp; java -jar Desktop/IP/backup.jar &gt; Desktop/IP/logs/backup.log 2&gt;&amp;1
  </code></pre>