You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: embabel-database-server/src/main/kotlin/com/embabel/database/server/controller/ModelSuggestionController.kt
@Scheduled(initialDelayString ="\${embabel.agent.scheduling.initial-delay-ms:30000}", fixedRateString ="\${embabel.agent.scheduling.fixed-rate-ms:86400000}") //Default is 24hrs in milliseconds
31
-
funrunAgent() {
40
+
funrefreshModels() {
32
41
logger.info("running batch loader process id")
33
-
}
42
+
try {
43
+
val params =JobParametersBuilder()
44
+
.addLong("run.id", System.currentTimeMillis())
45
+
.toJobParameters()
34
46
47
+
val execution = jobLauncher.run(job, params)
48
+
logger.info("Started parseAgentJob with status=${execution.status}")
0 commit comments