EvaluateScheduledTask

As of Version 11.2, EvaluateScheduledTask is being phased out in favor of TaskExecute.

EvaluateScheduledTask[expr]

triggers immediate local execution of the specified task object.

Details

  • For local tasks, EvaluateScheduledTask returns the specified ScheduledTaskObject. For cloud tasks, the task output is returned. For document generators, the generated document is returned as a CloudObject.
  • Evaluation of the specified task takes place synchronously in the current Wolfram Language session, without invoking any cloud mechanisms for task execution. Notification, logging, archiving, and delivery to recipients are bypassed.

Examples

open allclose all

Basic Examples  (1)

Specify a task with a future start date:

Evaluate the task in the current session:

Remove the task:

Scope  (2)

EvaluateScheduledTask causes cloud scheduled tasks to evaluate locally and synchronously, bypassing notification and logging:

Trigger the task to run locally and synchronously:

Delete the task:

EvaluateScheduledTask also causes document generators to evaluate synchronously, bypassing notification, logging, distribution, and archiving:

Trigger the generator to run synchronously:

Delete the generator:

Options  (1)

GeneratedDocumentBinding  (1)

Use the GeneratedDocumentBinding option to override the configured driver of a document generator. Deploy a document generator:

Trigger the generator to run synchronously, overriding the driver:

Delete the generator:

Wolfram Research (2014), EvaluateScheduledTask, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluateScheduledTask.html (updated 2014).

Text

Wolfram Research (2014), EvaluateScheduledTask, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluateScheduledTask.html (updated 2014).

CMS

Wolfram Language. 2014. "EvaluateScheduledTask." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/EvaluateScheduledTask.html.

APA

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

BibTeX

@misc{reference.wolfram_2022_evaluatescheduledtask, author="Wolfram Research", title="{EvaluateScheduledTask}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/EvaluateScheduledTask.html}", note=[Accessed: 15-August-2022 ]}

BibLaTeX

@online{reference.wolfram_2022_evaluatescheduledtask, organization={Wolfram Research}, title={EvaluateScheduledTask}, year={2014}, url={https://reference.wolfram.com/language/ref/EvaluateScheduledTask.html}, note=[Accessed: 15-August-2022 ]}