Delete scheduled task when schedule is managed externally
This commit is contained in:
@ -286,6 +286,10 @@ public class WindowsScheduler {
|
||||
}
|
||||
}
|
||||
|
||||
if (settings.getManageScheduleExternally()) {
|
||||
return Results.success(true);
|
||||
}
|
||||
|
||||
Result<String, String> userIdResult = getUserId();
|
||||
if (!userIdResult.hasSuccess()) {
|
||||
return Results.failure(userIdResult.getFailure().get());
|
||||
|
Reference in New Issue
Block a user