title: How to set cron job in cpanel
body: <p>I am using X10 hosting</p>
  
  <p>Server is <a href="https://boru.x10hosting.com" rel="nofollow">https://boru.x10hosting.com</a></p>
  
  <p>In add cron job i had given</p>
  
  <p><strong>Command</strong> <code>/usr/bin/php -q /home/mohanphp/www/quote_bot/sms_cron.php &gt;&gt;/home/mohanphp/www/quote_bot/log/cron_log.txt 2&gt;&amp;1</code></p>
  
  <p>I had tried</p>
  
  <pre><code>/usr/bin/php -q /home/mohanphp/www/quote_bot/sms_cron.php &gt;/dev/null 2&gt;&amp;1
  
  /usr/bin/php -f /home/mohanphp/www/quote_bot/sms_cron.php &gt;/dev/null 2&gt;&amp;1
  </code></pre>
  
  <p>I had set cron for every 5 minutes.</p>
  
  <p>Please help me what wrong i did with the command.</p>