title: Cron attempting to run a php command but it errors
body: <p>I'm very new to Cron first time using it so not really sure what I'm doing wrong. Right now I have a script called getTable1.php and basically I want to run it every 24 hours. So I went ahead and made a cron file with <code>crontable -e</code> and in it I wrote. <code>0 0 * * * /var/www/html/horario/getTable1.php</code>. I've made sure that the file has rwx-rw--rw- so that it has permissions to execute.  However when I check if the php file was executed I get the following error: </p>
  
  <pre><code>From root@CentOSTest.localdomain  Mon Aug 12 15:25:01 2019
  Return-Path: &lt;root@CentOSTest.localdomain&gt;
  X-Original-To: root
  Delivered-To: root@CentOSTest.localdomain
  Received: by CentOSTest.localdomain (Postfix, from userid 0)
      id 5E0E4625E8D8; Mon, 12 Aug 2019 15:25:01 -0500 (EST)
  From: "(Cron Daemon)" &lt;root@CentOSTest.localdomain&gt;
  To: root@CentOSTest.localdomain
  Subject: Cron &lt;root@CentOSTest&gt; /var/www/html/horario/getTable1.php
  Content-Type: text/plain; charset=UTF-8
  Auto-Submitted: auto-generated
  Precedence: bulk
  X-Cron-Env: &lt;XDG_SESSION_ID=35380&gt;
  X-Cron-Env: &lt;XDG_RUNTIME_DIR=/run/user/0&gt;
  X-Cron-Env: &lt;LANG=en_US.UTF-8&gt;
  X-Cron-Env: &lt;SHELL=/bin/sh&gt;
  X-Cron-Env: &lt;HOME=/root&gt;
  X-Cron-Env: &lt;PATH=/usr/bin:/bin&gt;
  X-Cron-Env: &lt;LOGNAME=root&gt;
  X-Cron-Env: &lt;USER=root&gt;
  Message-Id: &lt;20190812202501.5E0E4625E8D8@CentOSTest.localdomain&gt;
  Date: Mon, 12 Aug 2019 15:25:01 -0500 (EST)
  
  /bin/sh: /var/www/html/horario/getTable1.php: /usr/bin/php^M: bad 
  interpreter: No such file or directory
  </code></pre>
  
  <p>Thank you in advance!</p>