Answers.Body: <p>I recommend following the documentation to configure your cron entry.</p>
  
  <ul>
  <li><a href="https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#commands" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#commands</a></li>
  </ul>
  
  <p>This page documents method for using built-in CLI commands (<code>cli.php</code>) and externally packaged CLI tools (<code>drush</code> or <code>cv</code>).</p>
  
  <p>The method shown in your screenshot does not appear to match those docs:</p>
  
  <ul>
  <li>The task is initiated from within the <code>bin</code> directory rather than CiviCRM website root (this might or might not be a factor)</li>
  <li>The task uses <code>cron.php</code> using CLI SAPI, not the CLI tools documented. (<a href="https://github.com/civicrm/civicrm-core/blob/master/bin/cron.php" rel="nofollow noreferrer"><code>cron.php</code></a> uses <code>$_REQUEST</code> for its inputs)</li>
  <li>The task does not specify a CiviCRM scheduled job (eg <code>Job.execute</code>)</li>
  </ul>
  
  <p>Following the docs is probably the best next step. If that doesn't work, update your question to include the amended command and output as a text for further guidance.</p>
  
  <p><code>cron.php</code> is documented as intended to be called over HTTP in that page, which you can also do using other CLI tools like <code>curl</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-17T09:39:16.707Z
Answers.Text: Hello Chris,
  
  Thanks for your answer. I tried to follow the doc as you recommended.
  
  Here is what I did. As OVH doesn't provide command line access to the server, I followed the "HTTP method" paragraph by creating a script like this :  https://imgur.com/iKpx4tc, then executed it on the OVH interface : https://imgur.com/mDjnNK0. Like yesterday, OVH executed without errors : https://imgur.com/zo1q4jh, but CiviCRM is still not detecting the cron activity.
Answers.UserDisplayName: Guillaume Sorel
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-16T19:02:19.333Z
Answers.LastActivityDate: 2019-05-18T02:45:37.153Z
Answers.LastEditDate: 2019-05-18T02:45:37.153Z
Answers.UserDisplayName: Chris Burgess
Body: <p>I'm working on a drupal website with a CiviCRM platform which is hosted by OVH. My cron seems to be working, <a href="https://i.sstatic.net/vgyMz.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vgyMz.png" alt="enter image description here"></a></p>
  
  <p>but CiviCRM is not detecting it. Is that normal ?</p>
  
  <p>Thanks in advance for your advices.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-07T08:25:25.537Z
Comments.Text: I'm also trying to configure cron to run on a shared server hosted by OVH.. So unable to run any command :-( I also need to encapsulate a php script and call over HTTP; did you manage to configure and have it up and running?
  Thanks!
Comments.UserDisplayName: Laurent Arnoult
Tags: <cron><civicrm-home><hosting>
Title: OVH: Cron not detected by CiviCRM
ThreadText: # OVH: Cron not detected by CiviCRM
  
  (Asked by: username_0 on 2019-05-16)
  
  I'm working on a drupal website with a CiviCRM platform which is hosted by OVH. My cron seems to be working, [![enter image description here](https://i.sstatic.net/vgyMz.png)](https://i.sstatic.net/vgyMz.png)
  
  but CiviCRM is not detecting it. Is that normal ?
  
  Thanks in advance for your advices.
  
  **Tags:** cron, civicrm-home, hosting
  
  > **Comments:**
  > **username_1**: I'm also trying to configure cron to run on a shared server hosted by OVH.. So unable to run any command :-( I also need to encapsulate a php script and call over HTTP; did you manage to configure and have it up and running? Thanks!  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-05-16. Score: 1
  
  I recommend following the documentation to configure your cron entry.
  
  * <https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#commands>
  
  This page documents method for using built-in CLI commands (`cli.php`) and externally packaged CLI tools (`drush` or `cv`).
  
  The method shown in your screenshot does not appear to match those docs:
  
  * The task is initiated from within the `bin` directory rather than CiviCRM website root (this might or might not be a factor)
  * The task uses `cron.php` using CLI SAPI, not the CLI tools documented. ([`cron.php`](https://github.com/civicrm/civicrm-core/blob/master/bin/cron.php) uses `$_REQUEST` for its inputs)
  * The task does not specify a CiviCRM scheduled job (eg `Job.execute`)
  
  Following the docs is probably the best next step. If that doesn't work, update your question to include the amended command and output as a text for further guidance.
  
  `cron.php` is documented as intended to be called over HTTP in that page, which you can also do using other CLI tools like `curl`.
  
  > **Comments:**
  > **username_0**: Hello username_2,  Thanks for your answer. I tried to follow the doc as you recommended.  Here is what I did. As OVH doesn't provide command line access to the server, I followed the "HTTP method" paragraph by creating a script like this :  https://imgur.com/iKpx4tc, then executed it on the OVH interface : https://imgur.com/mDjnNK0. Like yesterday, OVH executed without errors : https://imgur.com/zo1q4jh, but CiviCRM is still not detecting the cron activity.  
  
  ---
  
  