I have scheduled a cron job on solution open of a batch process.
Below is my call:
- Code: Select all
plugins.scheduler.addCronJob(job_name, start_cron_timing, globals[start_method_name], null, null, [job_id]);
here, start_method_name is database field has stored the name of global method. Job is being scheduled perfectly as I have traced by setting DB Columns.
Also, this method is triggereing as smart client perfectly! but ASA I run it as batch process, it doesn't trigger.
Problem: Problem is that this method is not being triggered. despite of being in the global. What am I missing? I guess it is related to the method name.
Help is highly appreciated.
Thankyou.