Skip to main content

Repeat command N times every S seconds.

Project description

Repeat command N times every S seconds.


$ pip install repeat


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)


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


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


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

Project details

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
repeat-0.1.2.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Source None Jan 28, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page