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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Problem with Cron Job
Pages: [1]

Author Topic: Problem with Cron Job  (Read 461 times)

Anthony F. Camilleri

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 2
  • CiviCRM version: 4.4.3
  • CMS version: wordpress
  • MySQL version: 5.1
  • PHP version: 4.3
Problem with Cron Job
February 06, 2014, 09:05:03 am
Hi,

I've been trying to run a cron job to run all scheduled jobs via php-cli. The cron is setup, and the script seems to run, it processes, but gives no output. However, nothing is registered in the job log. I've tried running under different users (civi-user, and root), i've set permissions to 777 just to be sure that it isn't with the script, but nothing works. Nothing in any error log.

My setup using the same settings for a different site on the same server works fine. It's all very confusing.

In addition clicking 'Run all scheduled jobs manually' works fine.

Any ideas?

Sincerely,

Anthony


JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Problem with Cron Job
February 06, 2014, 09:20:25 am
Anthony,

If you run the same command interactively (on the CLI, not via cron) is there a difference?  You're more likely to see output that way as well.

Could you post an anonymized version of the cron command you're running here?

Jon
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Ann

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal
  • MySQL version: 5.6
  • PHP version: 5.5
Re: Problem with Cron Job
February 28, 2014, 11:23:58 pm
 You may try easycron.com as a trigger, easy to find issue.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Problem with Cron Job

This forum was archived on 2017-11-26.