some code...
This commit is contained in:
parent
f9c99d4070
commit
cac342582b
19 changed files with 788 additions and 0 deletions
12
lib/core/job.py
Normal file
12
lib/core/job.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"""
|
||||
This is what job_function needs as parameter for each job to succesfully
|
||||
execute.
|
||||
"""
|
||||
|
||||
|
||||
class Job:
|
||||
def __init__(self, command=None, members=None, host=None, service=None):
|
||||
self.command = command
|
||||
self.members = members
|
||||
self.host = host
|
||||
self.service = service
|
||||
Loading…
Add table
Add a link
Reference in a new issue