committed by
Mahmoud Ben Hassine
parent
97cc5cf321
commit
6231e1c26f
@@ -42,6 +42,7 @@ public class MyJobConfiguration {
|
||||
return new JdbcTransactionManager(dataSource);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public Job job(JobRepository jobRepository) {
|
||||
return new JobBuilder("myJob", jobRepository)
|
||||
//define job flow as needed
|
||||
|
||||
Reference in New Issue
Block a user