Hi,
is there any option that sent an email alert messages for tasks due today.
I searched the software and forum but couldn't find any usefull information about this.
I want my sugar sends me alerts for due tasks.
Thanks
Hi,
is there any option that sent an email alert messages for tasks due today.
I searched the software and forum but couldn't find any usefull information about this.
I want my sugar sends me alerts for due tasks.
Thanks
this can most likely be done by creating a time based workflow
Hi,
have you solved that problem? If so, could you post the solution.
A few threads exist in here with the same questions, but nobdy has posted a
solution.
That it can be solved with the worklow module really does not help.
THX,
Jens
Hi, all.
I believe if the flavor is CE the workflow is not available.
So you can create a new scheduled job for doing it.
If you has Linux or something like that you can configure the cron for trigger the cron.php in the root of you SugarCRM installation.
If you use Windows you can configure the Scheduled tasks for trigger the same cron.php.
What you could do:
1. Edit the file modules/Schedulers/_AddJobsHere.php and add a new entry into $job_strings array, in the end of this script, like:
After that create this function:PHP Code:$job_strings[] = 'runTasksDueToday';
After that, create this script: modules/Tasks/TasksDueToday.php, which can select all tasks due today and send their link to someone.PHP Code:function runTasksDueToday() {
if (!class_exists('LoggerManager')){
require('log4php/LoggerManager.php');
}
$GLOBALS['log'] = LoggerManager::getLogger('emailmandelivery');
$GLOBALS['log']->debug('Called:runMassEmailCampaign');
if (!class_exists('PearDatabase')){
require('include/database/PearDatabase.php');
}
require_once('include/utils.php');
global $beanList;
global $beanFiles;
require("config.php");
require('include/modules.php');
if(!class_exists('AclController')) {
require('modules/ACL/ACLController.php');
}
require('modules/Tasks/TasksDueToday.php');
return true;
}
Cheers
--
André Lopes
Lâmpada Global Services
Rua Bela Cintra, 299 conjunto. 51
São Paulo, SP 01415-000
tel1. 55 11 3237-3110
cel. 55 11 7636-5859
e-mail: info@lampadacrm.com.br
Oh very interesting.
But What do i have to write in TaskDueToday.php??
any ideas??????????
thanks!
Just here: modules/Tasks/TasksDueToday.php
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Adopes,
But what should be INSIDE the modules/Tasks/TasksDueToday.php file?
It should just be blank?
Hi every body,
Could anyone help with what we can put in the "Taskduetoday.php"?
Thanks a lot!
Hi all,
same here, can you shed some light on what should be inside TasksDueToday.php? I had a look at TasksQuickCreate.php as an example, but it's very difficult to follow and it doesn't look like what I actually need as well.
Cheers,
HC
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks