Smile provides three mechanisms for scheduling tasks:
smilepause: pauses a script without hanging the application,
idle: used to have an object perform a background task. Smile sends periodically the idle event to those objects (to their scripts, actually) whose want idle property was set to true,
notify: the mechanism to send a signed message to another object, immediately or after a given delay has elapsed.