summaryrefslogtreecommitdiffstats
path: root/jobqueue.pl
diff options
context:
space:
mode:
authorMatt Tyson <mtyson@redhat.com>2014-10-27 06:48:45 +0100
committerByron Jones <glob@mozilla.com>2014-10-27 06:48:45 +0100
commit0a3062afeb7d129553f626408da7e00bfda25cc2 (patch)
treedfe1eb95278da9452722201bf7683490f5a02d84 /jobqueue.pl
parent5a1a4b92a3381d8bcc7e42808961420c27dd0c38 (diff)
downloadbugzilla-0a3062afeb7d129553f626408da7e00bfda25cc2.tar.gz
bugzilla-0a3062afeb7d129553f626408da7e00bfda25cc2.tar.xz
Bug 1067753: Allow the job queue to specify one or more types of jobs to run
r=mtyson,a=sgreen
Diffstat (limited to 'jobqueue.pl')
-rwxr-xr-xjobqueue.pl15
1 files changed, 8 insertions, 7 deletions
diff --git a/jobqueue.pl b/jobqueue.pl
index f6722467c..858180334 100755
--- a/jobqueue.pl
+++ b/jobqueue.pl
@@ -33,13 +33,14 @@ jobqueue.pl - Runs jobs in the background for Bugzilla.
./jobqueue.pl [OPTIONS] COMMAND
OPTIONS:
- -f Run in the foreground (don't detach)
- -d Output a lot of debugging information
- -p file Specify the file where jobqueue.pl should store its current
- process id. Defaults to F<data/jobqueue.pl.pid>.
- -n name What should this process call itself in the system log?
- Defaults to the full path you used to invoke the script.
-
+ -f Run in the foreground (don't detach)
+ -d Output a lot of debugging information
+ -p file Specify the file where jobqueue.pl should store its current
+ process id. Defaults to F<data/jobqueue.pl.pid>.
+ -n name What should this process call itself in the system log?
+ Defaults to the full path you used to invoke the script.
+ -j job-name The name of jobs to process. Can be specified multiple times.
+ If not specified, all job types will be processed.
COMMANDS:
start Starts a new jobqueue daemon if there isn't one running already
stop Stops a running jobqueue daemon