From e7c15ef06e7886f69cee15863d7f75dc75c9ecec Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Sun, 31 Jan 2016 14:56:27 -0500 Subject: Get custom state names for each of the jobs now --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9f3de2c..96a71a8 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3