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 allclose all

Basic Examples  (1)

Deploy a task to run once a day indefinitely:

Pause the task:

Resume scheduled executions:

Delete the task:

Properties & Relations  (1)

A task with no scheduled runs may still be active. Deploy a task to be run on demand only:

Delete the task:

Wolfram Research (2015), ScheduledTaskActiveQ, Wolfram Language function, https://reference.wolfram.com/language/ref/ScheduledTaskActiveQ.html.

Text

Wolfram Research (2015), ScheduledTaskActiveQ, Wolfram Language function, https://reference.wolfram.com/language/ref/ScheduledTaskActiveQ.html.

BibTeX

@misc{reference.wolfram_2021_scheduledtaskactiveq, author="Wolfram Research", title="{ScheduledTaskActiveQ}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/ScheduledTaskActiveQ.html}", note=[Accessed: 27-November-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_scheduledtaskactiveq, organization={Wolfram Research}, title={ScheduledTaskActiveQ}, year={2015}, url={https://reference.wolfram.com/language/ref/ScheduledTaskActiveQ.html}, note=[Accessed: 27-November-2021 ]}

CMS

Wolfram Language. 2015. "ScheduledTaskActiveQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ScheduledTaskActiveQ.html.

APA

Wolfram Language. (2015). ScheduledTaskActiveQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ScheduledTaskActiveQ.html