Hello
I have a use case where I need to push some client information to a third party vendor using an API after the Opportunity has been created. I am using the beforeSave hook to create a job in the queue q0 which has the body defined in a Service.
Since the job is in the queue q0 which is scheduled to run every minute as mentioned here https://github.com/espocrm/espocrm/b...eduledJob.json
But sometimes the job does not get triggered immediately, but it executes 30 min or even an hour later. Seems like the cron does not seem to trigger the queue.
Is there any way to forcefully trigger jobs to be executed as and when its created?
I have a use case where I need to push some client information to a third party vendor using an API after the Opportunity has been created. I am using the beforeSave hook to create a job in the queue q0 which has the body defined in a Service.
Since the job is in the queue q0 which is scheduled to run every minute as mentioned here https://github.com/espocrm/espocrm/b...eduledJob.json
But sometimes the job does not get triggered immediately, but it executes 30 min or even an hour later. Seems like the cron does not seem to trigger the queue.
Is there any way to forcefully trigger jobs to be executed as and when its created?
Comment