[Vtigercrm-developers] Vtiger Workflow Running In The Background
MAGGI Conrado RE-INGENIA
conrado at reingenia.com.ar
Tue Dec 18 06:45:51 PST 2012
Hi
Regarding:
But unless vtiger CRM can provide a configurable frequency trigger per
workflow then it won't really work (you only want it to run once per day
for example).
We manage to add more lines to scheduler manager in vtiger. There is
vtlib function (register) insider vtlib/vtiger/cron.php that allow to
register additional cron jobs that will run with vtigercron.sh and will
show up in scheduler manager. That way you can activate, manage
frecuency, etc directly form vtiger UI.
You still need to write the script.
Regards,
Conrado
On 12/18/2012 11:33 AM, Alan Lord wrote:
> On 18/12/12 14:03, Petar Dimov wrote:
>> My problem with writing the cronjob is that I want to be able to pull a
>> specific email template and pick variables and that will be time-consuming.
>>
>> I'd rather have a workflow that do that. It already runs in the
>> background every 3 minutes for me.
> I agree, I have had similar requirements for a "cron-based" workflow
> trigger myself.
>
> But unless vtiger CRM can provide a configurable frequency trigger per
> workflow then it won't really work (you only want it to run once per day
> for example).
>
> For your specific case the field formula functions are not comprehensive
> enough either. I don't think there is an easy way to parse the field
> function "get_date('today')" and remove the year so you can compare it
> with a date field that you must also remove the year part from the date.
>
> Cheers
>
> Al
>
> --
> Libertus Solutions
> http://www.libertus.co.uk
>
> _______________________________________________
> http://www.vtiger.com/
More information about the vtigercrm-developers
mailing list