CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • 'nother Civimail Cron Troubleshooting thread:
Pages: [1]

Author Topic: 'nother Civimail Cron Troubleshooting thread:  (Read 1342 times)

jerwilkins

  • Guest
'nother Civimail Cron Troubleshooting thread:
June 16, 2009, 10:48:25 am
Cron task:
Code: [Select]
wget 'https://www.paba.com/civicrm/bin/civimail.cronjob.php?name=xxxx&pass=xxxxxxxxxxxxxxxxx&key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' --no-check-certificate
Name, password, and keys all changed to protect the innocent.

Output:
Code: [Select]
--2009-06-16 10:21:33--  https://www.paba.com/civicrm/bin/civimail.cronjob.php?name=xxxx&pass=xxxxxxxxxxxxxxxxx&key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Resolving www.paba.com... 74.50.50.101
Connecting to www.paba.com|74.50.50.101|:443... connected.
WARNING: certificate common name `paba.com' doesn't match requested host name `www.paba.com'.
HTTP request sent, awaiting response... 302 Found
Location: https://paba.com/ [following]
--2009-06-16 10:21:34--  https://paba.com/
Resolving paba.com... 74.50.50.101
Connecting to paba.com|74.50.50.101|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.paba.com/ [following]
--2009-06-16 10:21:34--  https://www.paba.com/
Connecting to www.paba.com|74.50.50.101|:443... connected.
WARNING: certificate common name `paba.com' doesn't match requested host name `www.paba.com'.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

     0K .......... ..                                          50.8M=0s

2009-06-16 10:21:34 (50.8 MB/s) - `index.html' saved [13274]

When I run the same code in my browser, it just forwards me to the CiviCRM Home page.
The certificate common name bit is nonsense, as I acquired the certificate is good for both www. and non-www. variations.

Any ideas?
Thanks in advance!

jerwilkins

  • Guest
Re: 'nother Civimail Cron Troubleshooting thread:
June 16, 2009, 10:59:32 am
Resolved in chat with dlobo and yurtboy.
Path should have been:
https://www.paba.com/sites/all/modules/civicrm/bin/civimail.cronjob.php
rather than:
https://www.paba.com/civicrm/bin/civimail.cronjob.php

Thanks guys!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • 'nother Civimail Cron Troubleshooting thread:

This forum was archived on 2017-11-26.