We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b03ffbc commit d7cbd9bCopy full SHA for d7cbd9b
src/main/java/com/rajat_singh/leetcode_api/scheduler/LeetCodeSyncScheduler.java
@@ -129,7 +129,7 @@ public void syncPOTD() {
129
Logger.info("LeetCode [POTD] sync completed in {} seconds.", (endTime - startTime) / 1000);
130
}
131
132
- @Scheduled(cron = "0 30 5 * * ?", zone = "Asia/Kolkata") // Runs every day at 5:30 AM (IST) for POTD removal)
+ @Scheduled(cron = "0 0 0 * * ?") // Runs every day at 12:00 AM (UTC) for POTD removal)
133
@Async
134
public void removePOTD() {
135
Logger.info("Starting LeetCode [POTD] removal... at {}", DateFormat.getDateInstance().format(System.currentTimeMillis()));
0 commit comments