0

i set up cron jobs run in :

@Scheduled(cron = "${cron.schedule.pattern}", zone = "Asia/Singapore")

And in file config :

cron.schedule.pattern=*/40 * 7-23 * * *

how to change pattern to @Schedule can not run instead of comment line @Schedule.

Adam
  • 1,041
  • 1
  • 7
  • 22

0 Answers0