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) »
  • Cron Job is not activated by civimail
Pages: [1]

Author Topic: Cron Job is not activated by civimail  (Read 817 times)

Pelle P

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 0
  • CiviCRM version: CiviCRM 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.39
  • PHP version: 5.2.10
Cron Job is not activated by civimail
January 11, 2012, 03:42:50 am
Help!

My Mailings are always stored like "Scheduled".

I have activated cron jobs for my Joomla 1.7 site. Like: wget http://www.forstyr.dk/administrator/components/com_civicrm/civicrm/bin/civimail.cronjob.php?name=(hidden)&pass=KONTROL&key=(hidden)

And the addresses activate the Scheduled mailings.

What am I missing. How and where do I link Civimail and the Cronjobs?

Best Regards

Pelle



Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Cron Job is not activated by civimail
January 11, 2012, 08:45:24 am
I don't understand your question exactly.

> How and where do I link Civimail and the Cronjobs

The way it works is you setup a cron job to execute that wget command that you posted. Then cron runs it automatically and your CiviMailers go out.

The title of your post is sort of backward--it's the cron job that activates CiviMail. :)
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.

Pelle P

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 0
  • CiviCRM version: CiviCRM 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.39
  • PHP version: 5.2.10
Re: Cron Job is not activated by civimail
January 11, 2012, 12:34:00 pm
OK, I try again ;)

My cron job is fired and I recive a positive confirmation. But my mailing remains scheduled.

The cron job: wget http://www.forstyr.dk/administrator/components/com_civicrm/civicrm/bin/civimail.cronjob.php?name=(hidden)&pass=KONTROL&key=(hidden)

If I manually use the address without wget - send it from my browser, the mailing is completed.

Is there a logical explanation? Why is there a difference between the automatic cron job and the cron job I activate manually?

Best Regards

Pelle


msn

  • I post frequently
  • ***
  • Posts: 152
  • Karma: 6
  • Please talk to the other site
Re: Cron Job is not activated by civimail
January 11, 2012, 01:09:42 pm
My working cron command, maybe you can use the basics:
Code: [Select]
wget -O - -q -t 1 --post-data='name=aaaaaaaaaaaaa&pass=bbbbbbbbbbbbbb&key=ccccccccccccccccccccccccc' http://www.domain.nl/sites/all/modules/civicrm/bin/civimail.cronjob.phpThere are a lot more example scripts on this forum.

@Hershel
If the native language is not English, it may sometimes happen that an incorrect phrase / word is used. That happens to me too. Maybe that's why the title is a litle funny.

Pelle P

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 0
  • CiviCRM version: CiviCRM 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.39
  • PHP version: 5.2.10
Re: Cron Job is not activated by civimail
January 11, 2012, 01:14:18 pm
Thanks!

The -O - -q -t 1  " part makes the difference.

Things work now.

Best Regards

Pelle

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Cron Job is not activated by civimail

This forum was archived on 2017-11-26.