diff options
| author | Tom Ritter <tom@ritter.vg> | 2016-01-31 14:56:27 -0500 |
|---|---|---|
| committer | Tom Ritter <tom@ritter.vg> | 2016-01-31 14:56:27 -0500 |
| commit | e7c15ef06e7886f69cee15863d7f75dc75c9ecec (patch) | |
| tree | a0c8a89062e62d61db24c025e51e3dfe731c2660 /README.md | |
| parent | 618c3606a1f5f230124a937201e53589dbab1260 (diff) | |
Get custom state names for each of the jobs now
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -48,7 +48,9 @@ JobBase is the base for a job, and should be used when you have a single, custom ### Inherit JobSpawner -JobSpawner should be used when you want to run the same logic for multiple servers. Look at HTTPServerChecker and TCPServerChecker for examples of how one can use it. +JobSpawner should be used when you want to run the same logic for multiple servers. Look at HTTPServerChecker and TCPServerChecker for examples of how one can use it. + +Be sure to call JobBase.__init__(self, config, ...) in the inner JobBase's init (with all of your arguements); otherwise the job state file will get messed up and be unable to distinguish between your individual spawned jobs. # Install |
