Schedule::LongSteps::Storage - An abstract storage class for steps
Mark the processes that are due to run as 'running' and returns an array of stored processes.
Users: Note that this is meant to be used by Schedule::LongSteps, and not intended to be called directly.
Implementors: You will have to implement this method should you wish to implement a new process storage backend.
Creates and return a new stored process.
Returns a stored process based on the given ID, or undef if no such thing exists.
Usage:
my $stored_process = $this->find_process( $pid );
Updates the given stored process (as returned by 'find_process') with the given properties.
$this->update_process( $process , { run_at => DateTime->now(), .. } );
To install Schedule::LongSteps, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Schedule::LongSteps
CPAN shell
perl -MCPAN -e shell install Schedule::LongSteps
For more information on module installation, please visit the detailed CPAN module installation guide.