This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

CancelScheduledTasksByKey

CancelScheduledTasksByKey(key): int

Will delete scheduled tasks by key

Table 1. Parameters

key

String

Schedule key

Return

Number of deleted scheduled tasks with provided key. Returns 0 without deleting anything if the script security context lacks the Manage all scheduled tasks system access right (see Script Security).

print(CancelScheduledTasksByKey("Key")); //Number of tasks