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.dev5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e09c7b16e3b9ac4bbd9b9a02e8f438ae0bd89d675e5295480e50ddd120effe7 |
|
MD5 | 8a969dab7a006ada15b86f6fde1c1384 |
|
BLAKE2b-256 | dd85cfefa779da00d3ebd7bc1020aa84209c259b42e8088b10904a4c1b4267e7 |
Close
Hashes for agent_Job_scheduler-0.2.1.dev5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c92afe121b0912bd1b7c3452a9c0bc8dca007cb01452ed65a16224d70855aa1 |
|
MD5 | af027802734e315b0d6ad0993c5e437e |
|
BLAKE2b-256 | b4c2e562a02d55ee8dc337378e7ce8ec1dafe131dccc4b6e27351dd4af0418c9 |