Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matrixik/sleep-rand
Simple scripts for random time sleep, useful for cron.
https://github.com/matrixik/sleep-rand
Last synced: 24 days ago
JSON representation
Simple scripts for random time sleep, useful for cron.
- Host: GitHub
- URL: https://github.com/matrixik/sleep-rand
- Owner: matrixik
- License: unlicense
- Created: 2014-07-16T20:12:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-16T20:19:44.000Z (over 10 years ago)
- Last Synced: 2024-10-15T22:49:38.894Z (2 months ago)
- Language: Shell
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Random sleep
============Simple scripts for random time sleep, useful for cron.
Files: `s` for seconds, `m` for minutes, `h` for hours and `d` for days.
## Usage
Sleep for up to 10 minutes after each full hour and execute some command
`crontab -e`
SR=/path/to/sleep-rand
0 * * * * . $SR/m 10 && some_command >> some_command.log 2>&1## License
The source files are distributed under the
[Public Domain](http://unlicense.org/),
unless otherwise noted.