Joomla 3.7.0 CiviCRM 4.7.19 PHP 5.5.38
I try to get a cron job running for civicrm with a joomla installation.
I looks the the wget does not allows me to get the third parameter over. see example eq1 and eq4. Quotes did not help either. See eq 2 and eq3
examples are senitize (PASSWORD USER MYKEY) HSOMETHING stands for https . Stack exchange does not let me post otherwise
Please advice.
eq1
wget -O - -t 1 HSOMETHING://www.MYSITE.org/administrator/components/com_civicrm/civicrm/bin/cron.php?key=MYKEY&name=USER&pass=PASSWORD
Resolving www.MYSITE.org... 66.198.240.51
Connecting to www.MYSITE.org|66.198.240.51|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 76 [text/html]
Saving to: “STDOUT”
0% [ ] 0 --.-K/s ERROR: You need to send a valid user name and password to execute this file
100%[====================================================================================>] 76 --.-K/s in 0s
2017-05-21 17:34:57 (19.5 MB/s) - written to stdout [76/76]
[1]- Done wget -O - -t 1 HSOMETHING://www.MYSITE.org/administrator/components/com_civicrm/civicrm/bin/cron.php?key=MYKEY
[2]+ Done name=USER
**************************************************************************************
eq2
wget -O - -t 1 "HSOMETHING://www.MYSITE.org/administrator/components/com_civicrm/civicrm/bin/cron.php?name=USER&pass=PASSWORD@ki23&key=MYKEY"
Resolving www.MYSITE.org... 66.198.240.51
Connecting to www.MYSITE.org|66.198.240.51|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2017-05-21 17:37:04 ERROR 500: Internal Server Error.
**************************************************************************************
eq3
wget -O - -t 1 'HSOMETHING://www.MYSITE.org/administrator/components/com_civicrm/civicrm/bin/cron.php?name=USER&pass=PASSWORD@ki23&key=MYKEY'
Resolving www.MYSITE.org... 66.198.240.51
Connecting to www.MYSITE.org|66.198.240.51|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2017-05-21 17:38:45 ERROR 500: Internal Server Error.
**************************************************************************************
eq4
wget -O - -t 1 HSOMETHING://www.MYSITE.org/administrator/components/com_civicrm/civicrm/bin/cron.php?key=MYKEY&name=USER&pass=PASSWORD@ki23
Resolving www.MYSITE.org... 66.198.240.51
Connecting to www.MYSITE.org|66.198.240.51|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 76 [text/html]
Saving to: “STDOUT”
0% [ ] 0 --.-K/s ERROR: You need to send a valid user name and password to execute this file
100%[====================================================================================>] 76 --.-K/s in 0s
2017-05-21 17:41:04 (23.3 MB/s) - written to stdout [76/76]
[1]- Done wget -O - -t 1 HSOMETHING://www.MYSITE.org/administrator/components/com_civicrm/civicrm/bin/cron.php?key=MYKEY
[2]+ Done name=USER