Body: <p>I'm trying to set up cron using the URL method using civiCRM 5.52 on WordPress. I have all the variables for
  <a href="https://example.org/" rel="nofollow noreferrer">https://example.org/</a>/plugins/civicrm/civicrm/bin/cron.php</p>
  <p>but I get a 403 forbidden message.</p>
  <p>Am I supposed to pass username, password, and site-key on the URL? What is the proper grammar for that?</p>
  <p>Or does cron.php ask me for those?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-08-26T09:36:26.727Z
Comments.Text: What method are you trying to use wget, php, wpcli, cv?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-08-26T14:48:38.033Z
Comments.Text: At the page below, I am using (trying to use) the "URL to cron.php" method https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#choosing-a-method
Comments.UserDisplayName: Tom
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-08-31T14:36:06.290Z
Comments.Text: I recommend that you avoid the deprecated `civicrm/bin/cron.php` method. Use the WP-CLI method if you can - it's much more reliable https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#wp-cli
Comments.UserDisplayName: Christian Wach
Tags: <wordpress><cron>
Title: how do I pass parameters to cron.php in WordPress?
ThreadText: # how do I pass parameters to cron.php in WordPress?
  
  (Asked by: username_0 on 2022-08-26)
  
  I'm trying to set up cron using the URL method using civiCRM 5.52 on WordPress. I have all the variables for
  <https://example.org/>/plugins/civicrm/civicrm/bin/cron.php
  
  but I get a 403 forbidden message.
  
  Am I supposed to pass username, password, and site-key on the URL? What is the proper grammar for that?
  
  Or does cron.php ask me for those?
  
  **Tags:** wordpress, cron
  
  > **Comments:**
  > **username_1**: What method are you trying to use wget, php, wpcli, cv?  
  > **username_0**: At the page below, I am using (trying to use) the "URL to cron.php" method https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#choosing-a-method  
  > **username_2**: I recommend that you avoid the deprecated `civicrm/bin/cron.php` method. Use the WP-CLI method if you can - it's much more reliable https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#wp-cli  
  
  ---
  
  ## 0 answers
  
  