tasks
Upon initialization of the Task Manager instance, the list of Movable Type tasks are gathered from the MT registry.
Input Parameters
- $cb - a reference to the current
MT::Callbackobject handling this event. - $tasks - a hash reference of tasks being executed.
Return Value
None.
Example Handler
sub handler {
my ($cb, $tasks) = @_;
foreach my $task (keys %$tasks) {
# do something
}
}
This page is part of the Events and Callbacks in Movable Type
- Previous PeriodicTask
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.