PurgeTasks

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:02

Description

Remove tasks from the database.

Parameters (* denotes an optional parameter)

Ids

A comma-separated list of ids of the tasks to delete.

 

Example

Assuming a task list as shown below, generated with the command:

http://demo.teradp.com/Tark4/do.ashx?Cmd=tasks

<?xml version="1.0" encoding="utf-8" ?>

<TaskList

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns="http://www.teradp.com/schemas/GN4/1/Task.xsd">

<TaskDesc

  xsi:type="PublishTaskDesc"

  Id="61968" userId="4" time="2010-01-19T21:53:30.457Z"

  priority="0" type="Publish" objectId="28606"

  profile="" numRetries="0" cmd="aids:82667;" />

</TaskList>

 

Remove the current task with the command:

http://demo.teradp.com/Tark4/do.ashx?Cmd=purgetasks&ids=61970

Successfully purged object(s) 61968

See also

Purge