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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Solved: Cron Will not run Scheduled Jobs
Pages: [1]

Author Topic: Solved: Cron Will not run Scheduled Jobs  (Read 630 times)

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Solved: Cron Will not run Scheduled Jobs
May 17, 2013, 11:26:14 am
After quite a long stint troubleshooting I finally got the PHP cli method to work.  I'm running Centos 6.x Cpanel and PHP 5.3.25.
I had followed instructions: http://wiki.civicrm.org/confluence/display/CRMDOC43/Managing+Scheduled+Jobs#ManagingScheduledJobs-PHPclimethod
added  "*/15 * * * * /usr/bin/php /path/to/civcrm/module/bin/cli.php -u user -p password -e Job -a execute" to cron and jobs didn't run.  No errors reported.
Changed "/usr/bin/php" to "/usr/bin/php-cli" and everything worked fine!

I've seen many cron issues, not sure why php-cli is necessary, but it may address other related issues ....

BTW - if this helps, I'm desperately in seek of karma  :-\

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Solved: Cron Will not run Scheduled Jobs

This forum was archived on 2017-11-26.