Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.

Release History

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
(1.9 kB) Copy SHA256 Hash SHA256
Source None Jan 28, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting