PeriodicTask
Prior to running any registered tasks, this callback is issued to allow any registered MT plugins to add additional tasks to the list or simply as a way to signal tasks are about to start. This callback sends no parameters, but it is possible to retrieve the active MT::TaskMgr instance using the instance method.
Input Parameters
- $cb - a reference to the current
MT::Callbackobject handling this event.
Return Value
None.
Example Handler
sub handler {
my ($cb) = @_;
# do something
}
This page is part of the Events and Callbacks in Movable Type
- Previous Task Callbacks
This page was last updated on 2008-10-01, 16:59.
Leave a note
Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.