Commits

timemachine committed 8c9709b

Clean up general scripting sample config

Comments (0)

Files changed (1)

timemachine-hibernate/config/scripting-scheduler.properties

+# Use configure scripting service that take -Dscript parameter as input to run
 timemachine.scheduler.userservice.scriptingService.class = timemachine.scheduler.userservice.ScriptingService
 ScriptingService.scriptEngineName = Groovy
 ScriptingService.initScript = ${script}
 
-timemachine.scheduler.schedulerName = TimeMachineScheduler
-timemachine.scheduler.nodeName = Node1
-
-# Use MySQL for scheduler as data store
+# Configure a dataStore service you want the script to operate on.
 timemachine.scheduler.dataStore.class = timemachine.scheduler.hibernate.HibernateDataStore
-timemachine.scheduler.dataStore.hibernateDataStore.hibernate.hbm2ddl.auto = update
-
 timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.driver_class = com.mysql.jdbc.Driver
 timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.url = jdbc:mysql://localhost:3306/tmscheduler
 timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.username = admin