Cancelling executing job

Tux1
Tux1 Explorer

Hi,

I see there is a lot of jobs running in DataScope Select. Many of them have been started from C# API as RawExtraction. How can I cancel them ?

Thanks

Best Answer

Answers

  • @Tux1

    You can cancel an active in-progress job by submitting a DELETE to the MonitorUrl.
    Or, in the case of .NET C# API, use:

    ExtractionsContext.CancelJob(IAsyncJob asyncJob);

    or

    ExtractionsContext.CancelJob(string monitorUrl);

    See the C# example application for more information on monitoring and canceling jobs.

  • @webmastertux1, do you know who / what created these jobs ? If they come from your tests, then all is fine, but if you don't know, it might be worth investigating.

  • Tux1
    Tux1 Explorer

    Thanks a lot. Exactly what I need