title: How to set up a cron job to run an executable every hour?
body: <p>I need to set up a cron job that runs an executable compiled using gcc once every hour.</p>
  
  <p>I logged in as root and typed <code>crontab -e</code></p>
  
  <p>Then I entered the following and saved the file.</p>
  
  <pre><code>0 * * * *  /path_to_executable
  </code></pre>
  
  <p>However, the cron job does not work.</p>
  
  <p>I see that when I type <code>/...path_to_executable</code> I get a segmentation fault.
  I can only execute the executable from the folder it is located in.
  Is there a way I can solve this problem?</p>