stopwatch
version 1.1.0
stopwatch [options]
Options: --run time cmd Execute `cmd` at specified time --help Show this message
Most simple usage is just to run `stopwatch` without any options. The script will start counting seconds and it will output the passed time:
04:12:54
To stop script use ctrl+c
You can use this script as a timer. The script can execute command at desired time. Here is an example:
stopwatch --run 10m "terminal-notifier -message '10 min passed'"
This command will start counting seconds but when in 10 minutes after start it will execute the command.
The `--run` options must get 2 parameters. First one is the time ('10m', '5s') and the second one is the command that should be run at that time. You can specify several `--run` options at once.
Project url: https://github.com/bessarabov/App-Stopwatch
Ivan Bessarabov <ivan@bessarabov.ru>
This software is copyright (c) 2014 by Ivan Bessarabov.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::Stopwatch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Stopwatch
CPAN shell
perl -MCPAN -e shell install App::Stopwatch
For more information on module installation, please visit the detailed CPAN module installation guide.