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) »
  • Discussion (deprecated) »
  • Documentation, Book and Training Resources (Moderator: Michał Mach) »
  • Civimail cron documentation error?
Pages: [1]

Author Topic: Civimail cron documentation error?  (Read 1280 times)

calbasi

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 0
    • calbasi.net
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Civimail cron documentation error?
February 15, 2013, 05:59:59 am
Hi,
I think there is an error in wiki documentation:
Quote
civicrm.org/confluence/display/CRMDOC42/CiviMail+Installation
or, at least, I get an error from my server :-/
I have 2 crontab lines:

Quote
cd /var/www/vhosts/MY_DOMAIN/httpdocs/d7/sites/all/modules/civicrm; nice -n19 /usr/bin/php bin/cli.php -j -sdefault -u MY_USER -p MY_PASSWD -e Job -a process_mailing
cd /var/www/vhosts/MY_DOMAIN/httpdocs/d7/sites/all/modules/civicrm; nice -n19 /usr/bin/php bin/cli.php -j -sdefault -uMY_USER -pMY_PASSWD -e Job -a fetch_bounces

First line is OK, but with the second I get an error email message:

Quote
Jobs called from cli.php require valid user as parameter
Died during initialization

I solve it with a white space in user and passwd parameters:
Quote
cd /var/www/vhosts/MY_DOMAIN/httpdocs/d7/sites/all/modules/civicrm; nice -n19 /usr/bin/php bin/cli.php -j -sdefault -u MY_USER -p MY_PASSWD -e Job -a fetch_bounces

Is it an error?

My server is a Debian 6.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civimail cron documentation error?
February 15, 2013, 08:55:38 am

the wiki is community editable. Can you please create an account and make the needed changes

thanx for pointing this out and making the changes

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Documentation, Book and Training Resources (Moderator: Michał Mach) »
  • Civimail cron documentation error?

This forum was archived on 2017-11-26.