Skip to main content

sleep until next specified time.

Project description

Latest PyPI version

sleep until next specified time.

Usage

$ 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

Compatibility

Licence

Authors

package_name was written by fx-kirin.

Project details


Download files

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

Source Distribution

onecron-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file onecron-0.1.0.tar.gz.

File metadata

  • Download URL: onecron-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for onecron-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a990996d277ba0ea52af17a2aba8b30fa1d4712e8c73a27e8006a57f154fafaa
MD5 dc91a7fee425edf839af4e56cf86ba25
BLAKE2b-256 e20411b01e8a57b88b564ee27f18d1680b7e976c02b6614837aa1b7181309110

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page