Check for the presence of a scheduled task
Published: November 12, 2024 - 5:03 PM
Good evening,
I'm using schtasks to perform a DELETE operation, but I don't know how to verify if the task to be deleted actually exists.
If I run the deletion and the task has already been deleted, the package correctly throws an error.
How can I check for the presence of a scheduled task with wapt?
I'm using schtasks to perform a DELETE operation, but I don't know how to verify if the task to be deleted actually exists.
If I run the deletion and the task has already been deleted, the package correctly throws an error.
How can I check for the presence of a scheduled task with wapt?