Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fx-kirin/onecron
command-line tool to wait for next event time.
https://github.com/fx-kirin/onecron
Last synced: about 1 month ago
JSON representation
command-line tool to wait for next event time.
- Host: GitHub
- URL: https://github.com/fx-kirin/onecron
- Owner: fx-kirin
- License: mit
- Created: 2020-05-22T00:22:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-06T06:44:41.000Z (over 2 years ago)
- Last Synced: 2024-11-17T10:51:23.854Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# onecron
[![Latest PyPI version](https://img.shields.io/pypi/v/package_name.svg)](https://pypi.python.org/pypi/onecron)
sleep until next specified time.
## Usage
You can use this script with pipe`|`.
```
$ onecron 12:00 --debug 2>/dev/null
[I|16910|200522 10:04:05.773 root:MainThread:onecron:56] Wait for 2020-05-22 12:00:00
^C
$ onecron "0 12 * * *" --debug 2>/dev/null
[I|17467|200522 10:04:20.802 root:MainThread:onecron:56] Wait for 2020-05-22 12:00:00
^C
$ onecron 0 12 --debug 2>/dev/null
[I|17717|200522 10:04:30.514 root:MainThread:onecron:56] Wait for 2020-05-22 12:00:00
$ ./onecron 6 10 && echo $(date)
2020年 5月 22日 金曜日 10:06:00 JST
```## Installation
```
pip install onecron
```### Requirements
python 3.7 or above.
## Compatibility
## Licence
## Authors
package\_name was written by [fx-kirin]([email protected]).