Skip to main content

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


Download files

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

Source Distribution

agent_Job_scheduler-0.2.1.dev5.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

agent_Job_scheduler-0.2.1.dev5-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

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