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) »
  • Configuring cron job in Joomla
Pages: [1]

Author Topic: Configuring cron job in Joomla  (Read 1480 times)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Configuring cron job in Joomla
June 03, 2010, 07:24:13 am
On a Joomla 1.5.17 / CiviCRM 3.1.5 site I have

Code: [Select]
define( 'CIVICRM_SITE_KEY', 'aaaAAA555444333hhhYYY' );
in /administrator/components/com_civicrm/civicrm.settings.php

And then I run

Code: [Select]
/administrator/components/com_civicrm/civicrm/bin/civimail.cronjob.php?name=Myname&pass=myPassword&key=aaaAAA555444333hhhYYY
And I get:

Code: [Select]
ERROR: You need to send a valid key to execute this file. More info at:http://wiki.civicrm.org/confluence/display/CRMDOC/Command-line+Script+Configuration
In /components/com_civicrm/civicrm.settings.php  I have:

Code: [Select]
// define( 'CIVICRM_SITE_KEY', '' );
Can someone tell me what I am missing here? In the case the error was incorrect, I ran Synchronize Users to Contacts and CiviCRM says they are all synched.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Configuring cron job in Joomla
June 04, 2010, 08:01:26 am
Can you try setting CIVICRM_SITE_KEY to the same value in /components/com_civicrm/civicrm.settings.php as well and see whether it changes anything?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Configuring cron job in Joomla
June 06, 2010, 05:36:33 am
OK it works now!

Problem actually was that I forgot to quote the URL in the wget command. Ooops. :(

Thank you.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Configuring cron job in Joomla

This forum was archived on 2017-11-26.