openolat - Quartz Scheduler

138 views
Skip to first unread message

Subbarao Cherukuri

unread,
Jul 31, 2014, 10:45:01 AM7/31/14
to open...@googlegroups.com
Hi Florian Gnägi,


we had gone through the code and also see that Quartz Scheduler had been implemented in openolat Application
.
When it was used and what purpose and which files it was used ,
on what schedule  it's runs and also let me know what files i need to refer.

I had seen the logs also

2014-07-31 10:31:27,648 [main] INFO  QuartzScheduler  - Quartz Scheduler v.1.8.6 created.
2014-07-31 10:31:27,649 [main] INFO  RAMJobStore  - RAMJobStore initialized.
2014-07-31 10:31:27,650 [main] INFO  QuartzScheduler  - Scheduler meta-data: Quartz Scheduler (v1.8.6) 'schedulerFactoryBean' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 5 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.


Please provide some knowledge on this . How to schedule and start so that scheduler will run.

Florian Gnägi

unread,
Aug 4, 2014, 11:00:46 AM8/4/14
to open...@googlegroups.com
Hi

Quarz is configured via Spring. Please read the Quartz ans Spring documentation to learn more about how this works. 

Basically all you have to do is to implement a Job bean (this is where you actual code is, where the stuff is done), wrap it in a generic JobDetailBean and configure a TriggerBean that tells Quartz when to execute your job. See the Quartz documentation if you are not familiar with those terms. 

Have a look at mainCorecontext.xml, there you will find a simple example.

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT and OLATpro
 hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------

frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland

skype:gnaegi  twitter:gnaegi  xing:Florian_Gnaegi 
--------------------------------------------------------------------















Reply all
Reply to author
Forward
0 new messages