This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cancel individual jobs via Powershell

I am trying to automate clearing out various queued replications jobs over night to prevent the rollups for still being queued in the morning. I am able to pull the various information about the jobs I want to stop however I can seem to stop individual jobs via a power shell command.

Has anybody come across this issue or found a way round jobs holding each other up overnight when the nightly jobs are supposed to run?

Thnaks Jamie

Parents
  • Hi Tudor

    Thanks for the quick reply we are actually looking to cancel the queued replications and about midnight to clear the queue to allow the rollups to run overnight. I have been having a look over the script and I imagine it would be very similar to allow the cancelation of the replications instead of the rollups

    Thanks Jamie
Reply
  • Hi Tudor

    Thanks for the quick reply we are actually looking to cancel the queued replications and about midnight to clear the queue to allow the rollups to run overnight. I have been having a look over the script and I imagine it would be very similar to allow the cancelation of the replications instead of the rollups

    Thanks Jamie
Children
No Data