Hi Googler !
I was working on sugar crm, and come to add custom scheduler.
Create a file and name it “_AddJobsHere.php” in custom/modules/Schedulers/ (you may need to create the directory). Functions need to return true.
<?php$job_strings[] = 'your_function';function your_function(){ // Do stuff return true;}?>Create a new language file
<?php//MAKE SURE THE $mod_strings KEY IS COMBINATION OF "LBL_" & SCHEDULER JOB FUNCTION NAME, ALL CAPITALS$mod_strings['LBL_YOUR_FUNCTION'] = 'Send Reminder';?>write your custom function in the file and you will able to select it when you create a new scheduler job. Your directory structure will be thus:
custom/modules/Schedulers/custom/modules/Schedulers/languagecustom/modules/Schedulers/language/en_us.lang.phpcustom/modules/Schedulers/_AddJobsHere.php
cheers !




Very impressive tips!!! It is very
ReplyDeleteknowledgeable. Thanks for sharing this wonderful content.
Website Designing Jaipur India