Additional functionality related to this tutorial has been introduced in subsequent versions of Mathematica. For the latest information, see Background and Scheduled Tasks.
Asynchronous tasks run in the background and evaluate functions asynchronously when there is an event. Asynchronous tasks may run only until some work is completed, or they may be designed to run indefinitely. This tutorial describes how to interact with asynchronous tasks.