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