MediaCloud::JobManager - Perl worker / client library for running jobs asynchronously.
MediaCloud::JobManager
use MediaCloud::JobManager;
Run jobs locally, remotely or remotely + asynchronously.
None by default.
Linas Valiukas, <lvaliukas@cyber.law.harvard.edu>
Copyright (C) 2013- Linas Valiukas, 2013- Berkman Center for Internet & Society.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.
job_status($function_name, $job_id[, $config])
Get job status.
Parameters:
Function name (e.g. "NinetyNineBottlesOfBeer")
Job ID (e.g. "H:localhost.localdomain:8")
Returns hashref with the job status, e.g.:
Returns undef if the job ID was not found; dies on error.
To install MediaCloud::JobManager, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MediaCloud::JobManager
CPAN shell
perl -MCPAN -e shell install MediaCloud::JobManager
For more information on module installation, please visit the detailed CPAN module installation guide.