MMM::MirrorTask Class to store mirror task function and data
Return the name of the current task
Return true if the current task is disable
Return the configuration value for $var. Return $default if parameter is not set in the config
Return the frequency value from config
Return a hashref about job status
Return the time (in second) when the next run should be performed
Return the source associate to the list, if any
Try to lock the lockfile for this task, in shared mode if $share is set.
Release the lock for the task
Return true is the task is running (lock check)
Return three values: - the count of failure since last success - the previous failure count - and if this count has change between the two previous run (eg if failure count is different of previous failure count)
Perform the synchronization
The destination directory for this mirror
Perform du over the destination directory and store the result into status file
The first time job is take into account
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head2'
To install MMM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MMM
CPAN shell
perl -MCPAN -e shell install MMM
For more information on module installation, please visit the detailed CPAN module installation guide.