Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
* * * * * wget -O - -q -t 1 --post-data='name=name&pass=pword&key=key1234' http://www.example.org/administrator/components/com_civicrm/civicrm/bin/civimail.cronjob.php
wget -O - -q -t 1 'http://www.atyourpalate.com/drupal-6.6/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=USER&pass=PASS&key=SITE_KEY'
Can you try adding the ‘edit all contacts’ permission? This was just reported: http://forum.civicrm.org/?topic=15472.msg66839#msg66839
Also, do check whether you can actually login (by hand) with the credentials passed to wget.
I was successfully able to login with the new user credentials manually, however, when running wget on the command-line, I get the same error as before. So...no luck....weird.....
Stab in the dark, as you seem to have shell access with php-cli:cd civicrm root;php5 bin/civimail.cronjob.php -u user -p password -s yoursite.orgWhat does it says?X+
X-Powered-By: PHP/5.2.14Content-type: text/html<br /><b>Warning</b>: require_once(bin/cli.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>/homepages/29/d100263672/htdocs/wsb3626572001/drupal-6.6/sites/all/modules/civicrm/bin/civimail.cronjob.php</b> on line <b>67</b><br /><br /><b>Fatal error</b>: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'bin/cli.php' (include_path='.:/usr/lib/php5') in <b>/homepages/29/d100263672/htdocs/wsb3626572001/drupal-6.6/sites/all/modules/civicrm/bin/civimail.cronjob.php</b> on line <b>67</b><br />
function setEnv() { // so the configuration works with php-cli $_SERVER['PHP_SELF' ] ="/index.php"; $_SERVER['HTTP_HOST']= $this->site; require_once ("./civicrm.config.php"); $this->key= CIVICRM_SITE_KEY; $_REQUEST['key']= $this->key; }
X-Powered-By: PHP/5.2.14Set-Cookie: PHPSESSID=cbc5d83b499b5e0224a512e42368378d; path=/Expires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0Pragma: no-cacheContent-type: text/html<br /><b>Fatal error</b>: Cannot redeclare _pear_call_destructors() (previously declared in /usr/lib/php5/PEAR.php:735) in <b>/homepages/29/d100263672/htdocs/wsb3626572001/drupal-6.6/sites/all/modules/civicrm/packages/PEAR.php</b> on line <b>811</b><br />