agent is a python job scheduler
Project description
quick start
>>> import agent >>> a = agent.Agent() >>> import datetime >>> options = { ... 'scheduler': 'interval', ... 'start_time': datetime.datetime.now(), ... 'interval': 1 ... } >>> @agent.create_job_decorator(options=options) >>> def sample_job_every_5s(): ... print('I am running whiteout massage and name') >>> >>> a.start()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for agent_Job_scheduler-0.2.1.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c18f4377f04a48d5b90cc7fb12ae6938bca760d3402a5e961cba1f1d084ae709 |
|
MD5 | 2df815a9d3bb24a94ab34c8f7380c020 |
|
BLAKE2b-256 | dcec13828ba26489eed9f153ae475b3cd46a826743bf20455928695ff154406a |
Close
Hashes for agent_Job_scheduler-0.2.1.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b8b86710e87145c4adb84a75cb0d768203d484854380dfa8cbdffab5375f099 |
|
MD5 | 2b2f7ea558f7e43740cdab46eb763d24 |
|
BLAKE2b-256 | e6b7d3d078e2d89ef63dafba0f9225e2b0461aa4b3d67a4445ed2cafe7888307 |