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 »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Cron report mail: InstanceId missing
Pages: [1]

Author Topic: Cron report mail: InstanceId missing  (Read 1380 times)

pike67

  • I post occasionally
  • **
  • Posts: 55
  • Karma: 0
  • CMS version: drupal7
Cron report mail: InstanceId missing
November 01, 2012, 05:50:41 am
Hi

I have no idea what's in the Report Mail, but I turned it on just for fun.
I doesnt get send .. it needs a parameter. The log says

> Finished execution of Mail Reports with result: Failure, Error message: Report Mail Triggered... Required parameter missing: instanceId

I can enter parameters in the jobs setting, but what does it want ? instance of what ?

curious,
*-pike

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Cron report mail: InstanceId missing
November 30, 2012, 02:30:12 am
I'm not certain, but I think the error is generated when no report is set up to be mailed. Try setting up a report so that it is set to be mailed to an address, and see if the scheduled job still throws an error.
Graham Mitchell
http://mc3.coop

DamonKirkpatrick

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 0
  • One job but so many responsibilities.
    • Friends of Georgia State Parks
  • CiviCRM version: 4.5.2
  • CMS version: Drupal 7.35
  • MySQL version: 5.1.48
  • PHP version: 5.3.8
Re: Cron report mail: InstanceId missing
December 12, 2012, 03:24:26 am
pike67 -

Not sure if you are still having the problem but, it sounds like the specifics about WHICH report to send are not set up. 

You have to tell the process which report you want run using the parameters of the Scheduled job.  Each report needs a job of its own so the report is called, results are returned and then emailed to your destination.

You must have:
1.  The report created with an email address in report settings.
2.  A job for that specific report with InstanceID in the parameters where InstanceId is the unique ID for the specific report you want sent.

You can find out more information and the correct format for the parameters here:
http://wiki.civicrm.org/confluence/display/CRMDOC42/Managing+Scheduled+Jobs

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Cron report mail: InstanceId missing

This forum was archived on 2017-11-26.