Skip to content
Snippets Groups Projects
Unverified Commit 93e78c10 authored by Martin Weise's avatar Martin Weise
Browse files

Fixed the cron syntax

parent 15fe2df6
No related branches found
No related tags found
2 merge requests!146Resolve "Remove old queries",!144Revert
......@@ -20,7 +20,7 @@ public class MariadbListenerImpl implements DatabaseListener {
}
@Override
@Scheduled(cron = "0 2 * * *" /* at 2am */)
@Scheduled(cron = "0 0 2 * * *" /* at 2am, non-standard CRON syntax */)
@Transactional(readOnly = true)
public void deleteStaleQueries() throws QueryStoreException, ImageNotSupportedException {
storeService.deleteStaleQueries();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment