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
.
Aucun commentaire:
Enregistrer un commentaire