Hi all,
I have been having a bit of difficulty configuring the ZuckerReports Scheduler. Before I launch into my problem, here's what I am running on my development server:
O/S: SLES10
Sugar version: 5.0.0b (in production environment, Sugar version is 5.0.0f)
(Please note that my Sugar installation was performed using the 5.0.0b FastStack installer)
Whilst I was on leave, ZuckerReports has been implemented into SugarCRM at my workplace. Once I returned, I have been using it to generate simple listing reports in our dev environment (yet to try iReport), and my boss would like me to configure it to run scheduled reporting ASAP. I have configured the Sugar Scheduler correctly, as I have seen that it successfully checks for inbound mail every minute, but as yet I have been unsuccessful in configuring the ZuckerReports Scheduler. Thus far, the only documentation I have found on setting up the scheduler is this:
http://dl.sugarforge.org/zuckerrepor...stingGuide.txt
The only exception I made in following these instructions was that I gave the scheduler number 6 instead of 8 (seeing as there were only five other default Sugar Scheduler jobs). I configured the "ZuckerReportsScheduler" task with the following options:Report Scheduler Setup
======================
In order for the report scheduler to work, you have to make manual chances in a Sugar file.
* open modules/Schedulers/_AddJobsHere.php
* round line 65, add the following line to the "$job_strings"-array:
8 => 'ZuckerReportsScheduler',
* somewhere below add the following function:
function ZuckerReportsScheduler() {
require_once("modules/ZuckerRunnableReport/RunnableReport.php");
RunnableReport::scheduler_run_all();
return true;
}
Afterwards log in to Sugar as admin user, open the Admin panel, select the "Scheduler" option and add
a new "ZuckerReportsScheduler" task to the scheduler, running every minute (the "ZuckerReportsScheduler" task
should be available in the dropdown list there).
Please be sure to configure the Sugar scheduler correctly, calling the "cron.php" script - otherwise
the ZuckerReports scheduler won't work either.
I've configured a pretty standard listing report to be run every hour and emailed as an HTML file to my email address. It works when I select "Test Schedule", but not when I try and schedule it to run automatically. The ZuckerReports Scheduler seemingly runs for an hour (Status is 'In Progress'), fails, then runs again. This is a sample of the output that I am getting from my sugarcrm.log file:Interval: */1 * * * * <--- I actually entered * * * * *, but it was automatically changed when I checked the task
Execute if missed: True
Date & Time Start: 01/01/2005 00:00
Date & Time End: 31/12/2020 23:59
Anybody have an idea as to why the scheduler is not working? I'm not sure if it's something to do with the version of Sugar, or maybe the fact that I used the FastStack installer (i.e. MySQL, Apache, PHP all in the /opt/sugarcrm-5.0.0b directory). If there's anything I should include in my problem description, just let me know. I need this to be up and running ASAP, so any help would be greatly appreciated. Thanks!Thu Jul 31 09:20:02 2008,246 [28309] FATAL SugarCRM - If you see a whole string of these, there is a chance someone is attacking your system.
Thu Jul 31 09:21:02 2008,021 [28585] FATAL SugarCRM - If you see a whole string of these, there is a chance someone is attacking your system.
Thu Jul 31 09:22:01 2008,837 [28861] FATAL SugarCRM - If you see a whole string of these, there is a chance someone is attacking your system.
Thu Jul 31 09:23:02 2008,628 [29138] FATAL SugarCRM - If you see a whole string of these, there is a chance someone is attacking your system.
Thu Jul 31 09:24:02 2008,398 [29415] FATAL SugarCRM - If you see a whole string of these, there is a chance someone is attacking your system.
Thu Jul 31 09:25:02 2008,233 [29694] FATAL SugarCRM - If you see a whole string of these, there is a chance someone is attacking your system.
Thu Jul 31 09:26:01 2008,964 [29968] FATAL SugarCRM - If you see a whole string of these, there is a chance someone is attacking your system.
Thu Jul 31 10:20:13 2008,359 [3128] FATAL SugarCRM - Error fetching relationship from cache schedulers_created_by
Thu Jul 31 12:46:31 2008,206 [3126] FATAL SugarCRM - Error fetching relationship from cache schedulers_created_by
Thu Jul 31 12:46:40 2008,066 [3124] FATAL SugarCRM - Error fetching relationship from cache schedulers_created_by


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks