Go to the previous, next section.
You can set up a timer to call a function at a specified future time.
Function: run-at-time time repeat function &rest args
This function arranges to call function with arguments args at time time. The argument function is a function to call later, and args are the arguments to give it when it is called. The time time is specified as a string.
Absolute times may be specified in a wide variety of formats; The form
`hour:min:sec timezone
month/day/year', where all fields are numbers, works;
the format that current-time-string returns is also allowed.
To specify a relative time, use numbers followed by units. For example:
If time is an integer, that specifies a relative time measured in seconds.
The argument repeat specifies how often to repeat the call. If
repeat is nil, there are no repetitions; function is
called just once, at time. If repeat is an integer, it
specifies a repetition period measured in seconds.
Cancel the requested action for timer, which should be a value
previously returned by run-at-time. This cancels the effect of
that call to run-at-time; the arrival of the specified time will
not cause anything special to happen.
Go to the previous, next section.