mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request 'Fix Cron Expression defining issue' (#157) from tcdlpds/device-mgt-core:cron-fix into apim420
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/157
This commit is contained in:
commit
bfc38eeff0
@ -158,7 +158,7 @@ public class ScheduledAppSubscriptionTaskManager {
|
||||
TaskManager taskManager = taskService.getTaskManager(SCHEDULED_APP_SUBSCRIPTION_TASK_TYPE);
|
||||
|
||||
TaskInfo.TriggerInfo triggerInfo = new TaskInfo.TriggerInfo();
|
||||
triggerInfo.setCronExpression("0 0 0/24 ? * * *");
|
||||
triggerInfo.setCronExpression("0 0 0 ? * * *");
|
||||
|
||||
String taskName = "SCHEDULED_APP_SUBSCRIPTION_CLEANUP_TASK";
|
||||
TaskInfo taskInfo = new TaskInfo(taskName, ScheduledAppSubscriptionCleanupTask.class.getName(), null,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user