Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CallDBSteps {
- @Scheduled(cron="*/2 * * * * MON-FRI")
- public void updateMapItems(){
- System.out.println("Started cron job");
- /**
- * Call method 1
- * Call method 2
- * Call method 3
- * Return how? return to view, what?
- */
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement