Job Scheduling Helper
Project description
# Waechter
**Job Scheduling Helper**
## Installing
`pip install waechter`
## Usage
See samples directory for example usage.
Simple example:
```python
import waechter.scheduler
class HelloJob1(waechter.scheduler.BaseJob):
def __init__(self, interval=None):
super(HelloJob1, self).__init__(interval)
self.interval = interval if interval else 1
@classmethod
def work(cls):
print('hello work 1')
if __name__ == '__main__':
main_worker = waechter.scheduler.JobScheduler().run()
```
**Job Scheduling Helper**
## Installing
`pip install waechter`
## Usage
See samples directory for example usage.
Simple example:
```python
import waechter.scheduler
class HelloJob1(waechter.scheduler.BaseJob):
def __init__(self, interval=None):
super(HelloJob1, self).__init__(interval)
self.interval = interval if interval else 1
@classmethod
def work(cls):
print('hello work 1')
if __name__ == '__main__':
main_worker = waechter.scheduler.JobScheduler().run()
```
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
waechter-0.2.4.tar.gz
(14.9 kB
view hashes)