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 »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Cron / CLI - require valid user
Pages: [1]

Author Topic: Cron / CLI - require valid user  (Read 944 times)

grantbow

  • I’m new here
  • *
  • Posts: 7
  • Karma: 1
  • education through open tech
    • partimus
  • CiviCRM version: 4.4.5
  • CMS version: Wordpress 3.9
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Cron / CLI - require valid user
January 28, 2013, 02:15:10 am
So I've tried several wordpress users in the cron job setup and from the command line but it keeps saying "Jobs called from cli.php require valid user as parameter" "Died during initialization". As recommended the new user I created doesn't seem to want to synchronize using Administer...Users and Permissions...Synchronize Users to Contacts though this seems like a broader problem. I am using Wordpress 3.5.1 and CiviCRM 4.2.7 on dreamhost.com which uses PHP 5.3.13; MySQL 5.1.56; Debian 6.0.6; Apache 2.2.22-14. I haven't tried falling back to URLs yet because I want the CLI to work well for all the advantages it provides. Any suggestions?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Cron / CLI - require valid user
January 28, 2013, 05:20:00 am
Get the URL to work first--that's what I recommend.

Did you try using the main admin user? As a test.
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 »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Cron / CLI - require valid user

This forum was archived on 2017-11-26.