Skip to content

Commit

Permalink
chore: scheduler test
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 committed Nov 5, 2024
1 parent c9ca023 commit 463f0a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class DeliveryNotificationScheduler {
private final NotificationService notificationService;

@SchedulerLock(name = "shedLock_notify_delivery", lockAtLeastFor = "1m", lockAtMostFor = "59m")
@Scheduled(cron = "0 0 7 * * *")
@Scheduled(cron = "0 0 15 * * *")
public void notifyTodayDelivery() {
notificationService.notifyTodayDelivery();
}
Expand Down

0 comments on commit 463f0a5

Please sign in to comment.