ScheduledTaskActiveQ

ScheduledTaskActiveQ is being phased out in favor of TaskObject, which was introduced experimentally in Version 11.2.

ScheduledTaskActiveQ[obj]

yields True if obj represents an active task, and False otherwise.

Details

  • The object obj can be a CloudObject containing a ScheduledTask expression or DocumentGenerator.
  • A task may be inactive because it has been stopped, because its scheduling specification is nominally finished, or because the underlying cloud object has been deactivated.
  • ScheduledTaskActiveQ pertains to task objects and their schedules and does not imply anything about whether a task expression is currently evaluating.

Examples

open all close all

Basic Examples  (1)

Deploy a task to run once a day indefinitely:

In[1]:=
Click for copyable input
Out[1]=

Pause the task:

In[2]:=
Click for copyable input
Out[2]=

Resume scheduled executions:

In[3]:=
Click for copyable input
Out[3]=

Delete the task:

In[4]:=
Click for copyable input
Out[4]=

Properties & Relations  (1)

Introduced in 2015
(10.2)