Samples Defining a job Job configuration Running the project


You can download the project code from here

Work with JobSchedulerService by creating a sample project and use GateIn-3.1.0-GA for testing.

Firstly, create a project by using maven archetype plugin:

mvn archetype:generate

Edit the pom.xml as follows:

  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">



  <name>eXo Samples For Scheduler</name>
  <description>eXo Samples Code For Scheduler</description>

Generate an eclipse project by using maven eclipse plugin and then import into eclipse:

mvn eclipse:eclipse

eXo Kernel makes it easier to work with Job Scheduler service. All you need is just to define your "job" class to be performed by implementing org.quartz.Job interface and add configuration for it.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus