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 CiviReport (Moderator: Dave Greenberg) »
  • Custom report not generating correctly when run via cron
Pages: [1]

Author Topic: Custom report not generating correctly when run via cron  (Read 373 times)

Cat Paquin

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 3.2.3
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Custom report not generating correctly when run via cron
May 02, 2014, 06:33:00 am
Hello,

I am having some trouble with emailing a custom report using Scheduled Jobs and mail_report.

When I go to the Scheduled Jobs page and select Execute Now on the Report sender job, the report is sent to the email addresses specified and the format and data in the report are as expected.

When the job is executed via cron, the email is sent with a csv attachment, but the report has the wrong column titles and no data.

Here is the command being executed via cron:

php ../www/www/administrator/components/com_civicrm/civicrm/bin/cli.php -s <site> -u <username> -p <password> -e Job -a execute

Any suggestions on what I can look at to figure out where this is going wrong? Thank you!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Custom report not generating correctly when run via cron

This forum was archived on 2017-11-26.