CancelScheduledTasksByKey
- CancelScheduledTasksByKey(key): int
-
Will delete scheduled tasks by key
Table 1. Parameters key
String
Schedule key
ReturnNumber of deleted scheduled tasks with provided key. Returns
0without 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