Questions tagged [scheduling]

Questions on managing computation or tasks order. Synchronizing parallel procedures, dynamics objects and so on. It's meant to be a secondary tag to narrow the scope of question already tagged with parallel, dynamic, evaluation and similar tags.

Tag may be used in following cases (e.g.):

  • timing and/or temporal order is important during evaluation/runtime; ,
  • computation results in a dynamically maintained object rather than a static one;
  • producing/manipulating real-time continuous data/streams;
  • synchronized parallel computation is to be used;
  • ScheduledTasks are possibly involved.

Created after this Meta discussion: Timed procedures tag

79 questions
14
votes
2 answers

How can I run a cron scheduled task in Mathematica?

Mathematica doesn't have a built-in Cron scheduler. How can I use scheduled tasks in order to implement one ?
faysou
  • 10,999
  • 3
  • 50
  • 125
5
votes
3 answers

Best way to represent a complex time schedule?

What would be the best way to represent a complex schedule in Mathematica ? For example a representation of the plain words schedule: "From Monday to Friday, from 8 am to 12pm and from 1pm to 4pm", or another schedule like "Monday from 2am to…
faysou
  • 10,999
  • 3
  • 50
  • 125
2
votes
2 answers

ScheduledTask $timespec$ syntax

I want a task to run every five minutes from a specific start date to a specific end date. Documentation states syntax should be: {start, timespec, end}$\qquad$ run between dates start and end SessionSubmit[ ScheduledTask[ …
Zviovich
  • 9,308
  • 1
  • 30
  • 52
2
votes
0 answers

How to check if and when a ScheduledTask is scheduled?

Apparently, on Mathematica $Version "10.4.1 for Microsoft Windows (64-bit) (April 11, 2016)" the functions ScheduledTaskActiveQ and NextScheduledTaskTime are not working as expected: task = CreateScheduledTask[Print["Bazinga!"],…
unlikely
  • 7,103
  • 20
  • 52
1
vote
0 answers

RemoveScheduledTask has some problem in Mathematica 11

I am using Mathematica 11 below is an simple example of RunScheduledTask copied from documentation. n = 0; Dynamic[n] RunScheduledTask[n++, {1, 3}]; After running it, it will count 3 seconds Now run RemoveScheduledTask[ScheduledTasks[]]; you will…
matheorem
  • 17,132
  • 8
  • 45
  • 115