Answers.Body: <p>With assistance from webhost
  This command worked</p>
  <p><a href="https://i.sstatic.net/DOYNu.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/DOYNu.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-19T00:35:20.393Z
Answers.LastActivityDate: 2023-01-19T00:35:20.393Z
Answers.UserDisplayName: LesleyJill
Body: <p>wp 6 civi 5.52</p>
  <p>cron command is <a href="https://i.sstatic.net/ujuhg.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ujuhg.png" alt="enter image description here" /></a></p>
  <p>errors seem to be only warnings but civi reports cron not running:</p>
  <pre><code>PHP Warning:  Use of undefined constant STDOUT - assumed 'STDOUT' (this will throw an Error in a future version of PHP) in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/utils.php on line 1194
  PHP Warning:  Use of undefined constant STDERR - assumed 'STDERR' (this will throw an Error in a future version of PHP) in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Regular.php on line 43
  PHP Warning:  fwrite() expects parameter 1 to be resource, string given in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Base.php on line 66
  PHP Warning:  Use of undefined constant STDERR - assumed 'STDERR' (this will throw an Error in a future version of PHP) in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Regular.php on line 52
  PHP Warning:  fwrite() expects parameter 1 to be resource, string given in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Base.php on line 66
  Content-type: text/html; charset=UTF-8
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-18T09:18:51.943Z
Comments.Text: Would be worth checking if there is a newer version of wp-cli than the one you have.
Comments.UserDisplayName: Aidan
Tags: <cron>
Title: wp-cli cron not executing
ThreadText: # wp-cli cron not executing
  
  (Asked by: username_0 on 2023-01-18)
  
  wp 6 civi 5.52
  
  cron command is [![enter image description here](https://i.sstatic.net/ujuhg.png)](https://i.sstatic.net/ujuhg.png)
  
  errors seem to be only warnings but civi reports cron not running:
  
  ```
  PHP Warning:  Use of undefined constant STDOUT - assumed 'STDOUT' (this will throw an Error in a future version of PHP) in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/utils.php on line 1194
  PHP Warning:  Use of undefined constant STDERR - assumed 'STDERR' (this will throw an Error in a future version of PHP) in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Regular.php on line 43
  PHP Warning:  fwrite() expects parameter 1 to be resource, string given in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Base.php on line 66
  PHP Warning:  Use of undefined constant STDERR - assumed 'STDERR' (this will throw an Error in a future version of PHP) in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Regular.php on line 52
  PHP Warning:  fwrite() expects parameter 1 to be resource, string given in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Base.php on line 66
  Content-type: text/html; charset=UTF-8
  
  ```
  
  **Tags:** cron
  
  > **Comments:**
  > **username_1**: Would be worth checking if there is a newer version of wp-cli than the one you have.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2023-01-19. Score: 0
  
  With assistance from webhost
  This command worked
  
  [![enter image description here](https://i.sstatic.net/DOYNu.png)](https://i.sstatic.net/DOYNu.png)
  
  
  ---
  
  