Sys::RunUntilSys::RunUntil is a Perl module to make sure script only runs for the given time. | |
Download |
Sys::RunUntil Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Elizabeth Mattijsen
- Publisher web site:
- http://search.cpan.org/~elizabeth/
Sys::RunUntil Tags
Sys::RunUntil Description
Sys::RunUntil is a Perl module to make sure script only runs for the given time. Sys::RunUntil is a Perl module to make sure script only runs for the given time.SYNOPSIS use Sys::RunUntil '30mW'; # code which may only take 30 minutes to run use Sys::RunUntil '30sC'; # code which may only take 30 seconds of CPU timeProvide a simple way to make sure the script from which this module is loaded, is running only for either the given wallclock time or a maximum amount of CPU time.RUNTIME SPECIFICATIONThe maximum runtime of the script can be specified in seconds, or with any combination of the following postfixes: - S seconds - M minutes - H hours - D daysThe string "1H30M" would therefor indicate a runtime of 5400 seconds.The letter C indicates that the runtime is specified in CPU seconds used. The (optional) letter W indicates that the runtime is specified in wallclock time. Requirements: · Perl
Sys::RunUntil Related Software