Skip to content

Commit 0df4437

Browse files
committed
Fix run cronjob
1 parent da3519a commit 0df4437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openpodcastapi/opa/util/RefreshTokenCleanup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class RefreshTokenCleanup {
1717
private final RefreshTokenRepository repository;
1818

1919
/// Runs a task every hour to clean up expired refresh tokens
20-
@Scheduled(cron = "0 * * * * ?")
20+
@Scheduled(cron = "0 0 * * * ?")
2121
@Transactional
2222
public void deleteExpiredTokens() {
2323
final int deleted = repository.deleteAllByExpiresAtBefore(Instant.now());

0 commit comments

Comments
 (0)