Delete scheduled task when schedule is managed externally

This commit is contained in:
Nathan McRae 2025-03-03 21:39:36 -08:00
parent 6c43289860
commit 8d1e910cc5

View File

@ -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());