Krang::Schedule::Action::expire - Scheduler Action class which implements scheduler expire functions
Concrete Krang::Scheduler::Action class which deletes AKA expires media and stories
This class deletes stories and media. It is instantiated in the scheduler depending on action type.
use Krang::ClassLoader base => 'Schedule::Action'; sub execute { }
$schedule->execute()
Action method for class. Must be defined in Krang::Scheduler::Action classes. This method serves as the entry point method in Krang::Scheduler::Action class implementations. In this class it functions to delete (expire) media and stories.
$schedule->_expire()
Runs an expiration job on object_type-object_id.
Will throw a croak() if it cannot find the appropriate object, or
will propegate errors thrown by the object itself.