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) »
  • Setting up monthly mail reports cron jon
Pages: [1]

Author Topic: Setting up monthly mail reports cron jon  (Read 1154 times)

pskluzacek

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 6.20
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.8
Setting up monthly mail reports cron jon
March 06, 2012, 06:24:09 am
I'm trying to setup a cron job on using our Cpanel to send specific reports to our contract people like our bookkeeper.  I know the basic cron works as the scheduled cron job works perfectly using this method but I've tried to add parameters and that doesn't seem to work.   Heer is the con job with the parameters in it but not functioning
cd /home/our_server/public_html/our_site.org/sites/all/modules/civicrm/bin/ ; php CiviReportMail.php instanceId=6 name=username pass=password key=key password   Any suggestions to fix this cron?

The other option would be to create a monthly run frequency in scheduled jobs.  Is that possible?

Thanks
« Last Edit: March 06, 2012, 06:25:59 am by pskluzacek »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Setting up monthly mail reports cron jon
March 06, 2012, 10:18:07 am
If you are using the latest stable (4.1.x) - you need to use cli.php and run the "mail_report" job as documented here:
http://wiki.civicrm.org/confluence/display/CRMDOC41/Managing+Scheduled+Jobs
Protect your investment in CiviCRM by  becoming a Member!

pskluzacek

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 6.20
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.8
Re: Setting up monthly mail reports cron jon
March 06, 2012, 10:58:40 am
Thanks but I tried using that method but I keep getting an AJAX error message from the cPanel.  Any other ideas?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Setting up monthly mail reports cron jon
March 06, 2012, 12:31:39 pm
You should check with your hosting company and ask them to fix their page.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Setting up monthly mail reports cron jon

This forum was archived on 2017-11-26.