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) »
  • Scheduling a report to be emailed once a week
Pages: [1]

Author Topic: Scheduling a report to be emailed once a week  (Read 609 times)

clarkac

  • Administrator
  • Ask me questions
  • *****
  • Posts: 399
  • Karma: 11
  • CiviCRM version: 4.4.11 & 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1.61-cll
  • PHP version: 5.3.27
Scheduling a report to be emailed once a week
August 09, 2014, 01:44:22 pm
I assured my user that a report could be emailed to her once a week without her lifting a finger... ;D  Well, I guess that was over confidence now that I try to set it up.  I am presently running all background jobs via the scheduled jobs UI, so 'Mail Reports' is one of those tasks.  But I want it run once a week!  So I created a separate cron job that ran the report once a week with "job=Mail_Report_51" added to the end of the command line.  This worked... but...I guess I am misunderstanding the way it works because of course the  scheduled job UI for mail reports will still run (so the user will get the report every time cron runs/hourly/daily).  Which is not wanted obviously.
Is it possible to have one task run separately and (obviously) at a different frequency from the tasks in the scheduled jobs UI?
Or do I now have to set up all tasks to run as separate cron tasks.  In other words, you either use the scheduled jobs UI or you run everything separately?
 
Andy Clark

jtbayly

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 0
Re: Scheduling a report to be emailed once a week
September 20, 2014, 04:26:28 pm
I'm curious about this too. Did you ever figure out how to do it?

Thanks,
-Joseph

clarkac

  • Administrator
  • Ask me questions
  • *****
  • Posts: 399
  • Karma: 11
  • CiviCRM version: 4.4.11 & 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1.61-cll
  • PHP version: 5.3.27
Re: Scheduling a report to be emailed once a week
September 21, 2014, 12:25:58 am
Hi Joseph

No, I didn't figure this out & no-one replied.  I'm at Civicon this coming week & will see if I can pin somebody down about this.  If I get an answer I'll post it, of course.

Andy
Andy Clark

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: Scheduling a report to be emailed once a week
September 21, 2014, 06:23:09 am
I believe you are correct, you either need to trigger them all in one shot or each separately.  The one thing I'm not sure about and you might want to try/check on is what happens if you disable the Mail Report job in the scheduled jobs settings and then run the job specific Cron.  If the job specific Cron overrides the settings in Civi then you will be all set.
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Scheduling a report to be emailed once a week

This forum was archived on 2017-11-26.