Not a developer? Go to MovableType.com

Documentation

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::Callback object handling this event.

Return Value

None.

Example Handler

sub handler {
    my ($cb) = @_;
    # do something
}
Back