Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
93e78c10
Unverified
Commit
93e78c10
authored
2 years ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Fixed the cron syntax
parent
15fe2df6
No related branches found
No related tags found
2 merge requests
!146
Resolve "Remove old queries"
,
!144
Revert
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
fda-query-service/services/src/main/java/at/tuwien/listener/impl/MariadbListenerImpl.java
+1
-1
1 addition, 1 deletion
...ain/java/at/tuwien/listener/impl/MariadbListenerImpl.java
with
1 addition
and
1 deletion
fda-query-service/services/src/main/java/at/tuwien/listener/impl/MariadbListenerImpl.java
+
1
−
1
View file @
93e78c10
...
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment