How to PROGRAMATICALLY stop a scheduled backup
Hi,
We know we can't set "STOP THE TASK IF IT RUNS FOR MORE THAN ...."; we also know that we can't run 2 backups at the same time.
In my case, I have a daily LOCAL backup and a CLOUD one that runs after. The problem I have often is that the CLOUD backup fails for a myriad of reasons and keeps running until it finishes days later, getting in the middle of the time windows of the next LOCAL backup.
Knowing what I know, I would like to create a task that KILLS whatever needs to be killed to STOP the CLOUD backup at a particular time of the day so that (1) doesn't ruin through my working day and (2) doesn't interrupt the execution of the LOCAL backup.
I have not being able to identify which EXE to kill that will not affect the execution of the LOCAL backup later on.
Any ideas will be appreciatted