AddPeriodical[expr, interval]
adds the computation expr to the set of operations that are periodically performed automatically.


  • To use AddPeriodical, you first need to load J/Link using Needs["JLink`"].
  • AddPeriodical returns an integer ID that can be used in RemovePeriodical.
  • The time interval is specified in seconds, and can be less than one second, although the timing is not expected to be very precise.
New to Mathematica? Find your learning path »
Have a question? Ask support »