skip to navigation
skip to content

Not Logged In

repeat 0.1.2

Repeat command N times every S seconds.

Repeat command N times every S seconds.

Installation

$ pip install repeat

Usage

usage: repeat [-h] [-n N] [-s S] ...

Repeat command N times every S seconds.

positional arguments:
cmd Command to be repeated.
optional arguments:
-h, --help show this help message and exit
-n N repeat N times. (default=10)
-s S repeat every S seconds. (default=1)

Example

# Display disk space every 2 seconds, but stops in 5 times. $ repeat -n 5 -s 2 df -h

Author

  • Park, Hyunwoo <ez.amiryo at gmail.com>
  • Eunchong Yu <kroisse at gmail.com>

Disclaimer

Distributed under MIT license. And use at your own risk. This was not tested carefully.

 
File Type Py Version Uploaded on Size
repeat-0.1.2.tar.gz (md5) Source 2013-01-28 1KB
  • Downloads (All Versions):
  • 9 downloads in the last day
  • 43 downloads in the last week
  • 264 downloads in the last month