[SOLVED] Problem with task_exists and delete_task
Published: October 11, 2017 - 10:32 PM
Hello,
the task_exists() always seems to return false. If I try to use delete_task() directly, I get the following error: KeyError: "GoogleUpdateTaskMachineCore doesn't exist".
Currently, I'm using run_notfatal to delete the scheduled task:
run_notfatal('schtasks /Delete /TN GoogleUpdateTaskMachineCore /F').
The tis-flashplayer package attempts to delete the Adobe Flash Player Updater with these functions, and it is indeed not being deleted from the machines.
the task_exists() always seems to return false. If I try to use delete_task() directly, I get the following error: KeyError: "GoogleUpdateTaskMachineCore doesn't exist".
Currently, I'm using run_notfatal to delete the scheduled task:
run_notfatal('schtasks /Delete /TN GoogleUpdateTaskMachineCore /F').
The tis-flashplayer package attempts to delete the Adobe Flash Player Updater with these functions, and it is indeed not being deleted from the machines.