Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: RE: Quartz schedular is not triggering, after restarting the server in
We deployed a module which is having the class related to the quartz schedular , to run the cron jobs
the jobs running fine after deploying the module, but once after restarting the server , the quartz jobs are not triggering
can you please help me out, how can we work on this issue
here the thing is even after restarting the server also the quart schedular should work properly without redeploying the module which is having the quartz job running logic
thanks & Ragards,
Ganesh P
Please give us some more steps to reproduce, like (but not limited to):
- exact version?
- reproducible on the latest version?
- What do you do to create the scheduled jobs?
exact version : Liferay 7.0.1 GA2
reproducible on the latest version : not having idea
to create the scheduled jobs ; we used the below link as a reference
https://ignek.com/blog/scheduler-in-liferay-7-dxp
@Override
protected void doReceive(Message message) throws Exception {
log.info("Scheduled task executed...");
// here we added my code to which should run when shedular triggered based on cron-expression
}
the schedular is running fine
but once if we restart the server, shedular is not triggering
until redeploying the module(in which we wrote the schedular code) agin