Message Boards
Quartz schedular is not triggering, after restarting the server in liferay
Quartz schedular is not triggering, after restarting the server in liferay
New Member Posts: 19 Join Date: 2/27/18 Recent PostsWe 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
RE: Quartz schedular is not triggering, after restarting the server in lif
Liferay Legend Posts: 6396 Join Date: 9/23/08 Recent PostsPlease 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?
RE: RE: Quartz schedular is not triggering, after restarting the server in
New Member Posts: 19 Join Date: 2/27/18 Recent Postsexact 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