Skip to content

Commit

Permalink
change cron expression to production value again
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-lippert committed Sep 14, 2023
1 parent 8e85e8f commit a6a8263
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ public DataExportScheduleService(DataExportRepository dataExportRepository, Data
* Created will be all data exports that are in the state REQUESTED OR IN_CREATION
* Deleted will be all data exports that have a creation date older than seven days
*/
// TODO change again after testing. As long as we do not use this cron expression one server test always fails
// @Scheduled(cron = "${artemis.scheduling.data-export-creation-time: 0 0 4 * * *}")
@Scheduled(cron = "0 */10 * * * *")
@Scheduled(cron = "${artemis.scheduling.data-export-creation-time: 0 0 4 * * *}")
public void createDataExportsAndDeleteOldOnes() throws InterruptedException {
if (profileService.isDev()) {
// do not execute this in a development environment
Expand Down

0 comments on commit a6a8263

Please sign in to comment.