FusionInventory::Agent::Target - Abstract target
This is an abstract class for execution targets.
The constructor. The following parameters are allowed, as keys of the %params hash:
the logger object to use
the maximum delay before contacting the target, in seconds (default: 3600)
the base directory of the storage area (mandatory)
Get nextRunDate attribute.
Get nextRunDate attribute as a formated string.
Set next execution date from now and after $nextRunDelay seconds (0 by default).
Set next execution date to a random value.
Get maxDelay attribute.
Set maxDelay attribute.
Return the storage object for this target.
To install FusionInventory::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FusionInventory::Agent
CPAN shell
perl -MCPAN -e shell install FusionInventory::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.