Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
bugzilla/jobqueue.pl at master · gzgithub/bugzilla · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
gzgithub
bugzilla
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
bugzilla
/
jobqueue.pl
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
executable file
·
76 lines (61 loc) · 2.79 KB
master
Breadcrumbs
bugzilla
/
jobqueue.pl
Copy path
Top
File metadata and controls
Code
Blame
executable file
·
76 lines (61 loc) · 2.79 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
!/usr/bin/perl
#
This Source Code Form is subject to the terms of the Mozilla Public
#
License, v. 2.0. If a copy of the MPL was not distributed with this
#
file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#
This Source Code Form is "Incompatible With Secondary Licenses", as
#
defined by the Mozilla Public License, v. 2.0.
use
5.14.0;
use
strict;
use
warnings;
use
Cwd
qw(
abs_path
)
;
use
File::Basename;
BEGIN
{
#
Untaint the abs_path.
my
(
$a
) = abs_path(
$0
) =~
/
^(.*)
$
/
;
chdir
dirname(
$a
);
}
use
lib
qw(
. lib local/lib/perl5
)
;
use
Bugzilla;
use
Bugzilla::JobQueue::Runner;
Bugzilla::JobQueue::Runner
->
new();
=head1
NAME
jobqueue.pl - Runs jobs in the background for Bugzilla.
=head1
SYNOPSIS
./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.
-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
restart Stops a running jobqueue if one is running, and then
starts a new one.
once Checks the job queue once, executes the first item found (if
any, up to a limit of 1000 items) and then exits
onepass Checks the job queue, executes all items found, and then exits
check Report the current status of the daemon.
install On some *nix systems, this automatically installs and
configures jobqueue.pl as a system service so that it will
start every time the machine boots.
uninstall Removes the system service for jobqueue.pl.
help Display this usage info
version Display the version of jobqueue.pl
=head1
DESCRIPTION
See
L<Bugzilla::JobQueue>
and
L<Bugzilla::JobQueue::Runner>
.
=head1
Running jobqueue.pl as a System Service
For systems that use Upstart or SysV Init, there is a SysV/Upstart init
script included with Bugzilla for jobqueue.pl:
F<contrib/bugzilla-queue>
.
It should work out-of-the-box on RHEL, Fedora, CentOS etc.
You can install it by doing
C<
./jobqueue.pl install
>
as root, after
already having run
L<checksetup>
at least once to completion
on this Bugzilla installation.
If you are using a system that isn't RHEL, Fedora, CentOS, etc., then you
may have to modify
F<contrib/bugzilla-queue>
and install it yourself
manually in order to get
C<
jobqueue.pl
>
running as a system service.
You can’t perform that action at this time.