Elliott Stam

Hey Daniel,

As far as I know there isn't a way to pause an individual task. Here's what I would do:

1) query tasks on the site via REST API

2) use the response the server returns to you to identify the tasks associated with your workbook (each task will be associated with a datasource ID or workbook ID)

3) create a schedule on your server that isn't actually used (set it to disabled / suspended)

4) move the task you want to 'pause' to the dummy placeholder schedule until you want to 'unpause' it, then move it back to a real schedule.

You can also get cute with workbook tags, which you can set and remove using the REST API, which could indicate if a workbook is currently paused or not. That info could also be maintained in a database (better, but more technically involved).

Hope that helps!

--

--

Elliott Stam

Elliott Stam

Data scientist and author. Sometimes seen falling down mountains with a snowboard strapped to my feet.