jobmanager 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +14 -13
- data/README.txt +3 -3
- data/Rakefile +9 -2
- data/lib/jobmanager.rb +1 -0
- data/lib/jobmanager/applicationoptionparser.rb +1 -1
- data/lib/jobmanager/version.rb +11 -0
- metadata +46 -23
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
Manifest.txt
|
2
|
-
LICENSE
|
3
|
-
History.txt
|
4
1
|
FAQ.txt
|
2
|
+
History.txt
|
3
|
+
LICENSE
|
4
|
+
Manifest.txt
|
5
5
|
README.txt
|
6
6
|
Rakefile
|
7
7
|
bin/jobmanager
|
@@ -9,29 +9,22 @@ examples/email_settings.rb
|
|
9
9
|
examples/example.rb
|
10
10
|
examples/jobmanager.yaml
|
11
11
|
lib/jobmanager.rb
|
12
|
+
lib/jobmanager/application.rb
|
12
13
|
lib/jobmanager/applicationconfig.rb
|
13
14
|
lib/jobmanager/applicationlogger.rb
|
14
15
|
lib/jobmanager/applicationoptionparser.rb
|
15
|
-
lib/jobmanager/application.rb
|
16
16
|
lib/jobmanager/openonfirstwritefile.rb
|
17
17
|
lib/jobmanager/system.rb
|
18
18
|
lib/jobmanager/teestream.rb
|
19
19
|
lib/jobmanager/timestampedstream.rb
|
20
20
|
lib/jobmanager/util.rb
|
21
|
-
|
22
|
-
test/mock_syslog.rb
|
23
|
-
test/test_applicationlogger.rb
|
24
|
-
test/test_config.rb
|
25
|
-
test/test_jobmanager.rb
|
26
|
-
test/test_openonfirstwritefile.rb
|
27
|
-
test/test_system.rb
|
28
|
-
test/test_teestream.rb
|
29
|
-
test/configs/email_settings.rb
|
21
|
+
lib/jobmanager/version.rb
|
30
22
|
test/configs/all_values.yaml
|
31
23
|
test/configs/bad_email_condition.yaml
|
32
24
|
test/configs/bad_no_central_log_file.yaml
|
33
25
|
test/configs/bad_number_of_job_logs.yaml
|
34
26
|
test/configs/bad_timeout_zero.yaml
|
27
|
+
test/configs/email_settings.rb
|
35
28
|
test/configs/incomplete_1.yaml
|
36
29
|
test/configs/jobmanager_1.yaml
|
37
30
|
test/configs/jobmanager_2.yaml
|
@@ -44,3 +37,11 @@ test/configs/jobmanager_6.yaml
|
|
44
37
|
test/configs/jobmanager_7_no_log_rotation.yaml
|
45
38
|
test/configs/minimum_plus_email_settings.yaml
|
46
39
|
test/configs/minimum_required.yaml
|
40
|
+
test/helpers.rb
|
41
|
+
test/mock_syslog.rb
|
42
|
+
test/test_applicationlogger.rb
|
43
|
+
test/test_config.rb
|
44
|
+
test/test_jobmanager.rb
|
45
|
+
test/test_openonfirstwritefile.rb
|
46
|
+
test/test_system.rb
|
47
|
+
test/test_teestream.rb
|
data/README.txt
CHANGED
@@ -2,12 +2,11 @@ Object
|
|
2
2
|
|
3
3
|
== DESCRIPTION:
|
4
4
|
|
5
|
-
This package
|
6
|
-
composed of a single program, +jobmanager+, which is intended to be
|
5
|
+
This package simplifies monitoring / reporting cron jobs on unix systems.
|
6
|
+
It is composed of a single program, +jobmanager+, which is intended to be
|
7
7
|
invoked by cron, or a cron-like application. +jobmanager+, in turn,
|
8
8
|
invokes the specified cron job, in addition to providing the following
|
9
9
|
added value:
|
10
|
-
|
11
10
|
* Logs the output of the cron jobs.
|
12
11
|
* Rotates the cron job logs.
|
13
12
|
* Manages a central log which records all cron events (when each job
|
@@ -382,6 +381,7 @@ None (known).
|
|
382
381
|
=== Designing Patterns
|
383
382
|
* Homepage: http://www.designingpatterns.com
|
384
383
|
* Blogs: http://blogs.designingpatterns.com
|
384
|
+
* Twitter: http://www.twitter.com/TonyDesignP
|
385
385
|
|
386
386
|
== SUPPORT:
|
387
387
|
Please post questions, concerns, or requests for enhancement to the forums on
|
data/Rakefile
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
require 'rubygems'
|
3
3
|
require 'hoe'
|
4
|
+
require 'lib/jobmanager/version'
|
4
5
|
|
5
|
-
|
6
|
+
PROJECT_NAME = 'jobmanager'
|
7
|
+
DESCRIPTION = "This gem simplifies monitoring / reporting cron jobs on unix systems. It provides a number of configurable features. Specifically, it can log the output of cron jobs to a file or syslog, rotate the cron job log files, email the user the results of the cron job, time out cron jobs that run past a configurable time out, and more."
|
8
|
+
|
9
|
+
Hoe.spec(PROJECT_NAME) do |p|
|
10
|
+
p.url = "http://www.rubyforge.org/projects/#{PROJECT_NAME}"
|
6
11
|
p.remote_rdoc_dir = ''
|
12
|
+
p.version = JobManager::VERSION::STRING
|
7
13
|
p.developer('DesigningPatterns', 'technical.inquiries@designingpatterns.com')
|
8
|
-
|
14
|
+
p.description = DESCRIPTION
|
15
|
+
|
9
16
|
p.extra_deps << ['simpleemail']
|
10
17
|
p.extra_deps << ['configtoolkit', '>= 2.2']
|
11
18
|
p.extra_deps << ['relative']
|
data/lib/jobmanager.rb
CHANGED
@@ -90,7 +90,7 @@ module JobManager
|
|
90
90
|
options["timeout"] = timeout
|
91
91
|
end
|
92
92
|
|
93
|
-
opts.on("-
|
93
|
+
opts.on("-a", "--[no-]job_log_prepend_date_time",
|
94
94
|
"Whether to prepend the date/time to each line of the job log file.") do |value|
|
95
95
|
options["job_log_prepend_date_time"] = value
|
96
96
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jobmanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DesigningPatterns
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-15 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -62,6 +62,26 @@ dependencies:
|
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: "0"
|
64
64
|
version:
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: rubyforge
|
67
|
+
type: :development
|
68
|
+
version_requirement:
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 2.0.3
|
74
|
+
version:
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: gemcutter
|
77
|
+
type: :development
|
78
|
+
version_requirement:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 0.3.0
|
84
|
+
version:
|
65
85
|
- !ruby/object:Gem::Dependency
|
66
86
|
name: hoe
|
67
87
|
type: :development
|
@@ -70,9 +90,9 @@ dependencies:
|
|
70
90
|
requirements:
|
71
91
|
- - ">="
|
72
92
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
93
|
+
version: 2.5.0
|
74
94
|
version:
|
75
|
-
description:
|
95
|
+
description: This gem simplifies monitoring / reporting cron jobs on unix systems. It provides a number of configurable features. Specifically, it can log the output of cron jobs to a file or syslog, rotate the cron job log files, email the user the results of the cron job, time out cron jobs that run past a configurable time out, and more.
|
76
96
|
email:
|
77
97
|
- technical.inquiries@designingpatterns.com
|
78
98
|
executables:
|
@@ -80,15 +100,15 @@ executables:
|
|
80
100
|
extensions: []
|
81
101
|
|
82
102
|
extra_rdoc_files:
|
83
|
-
- Manifest.txt
|
84
|
-
- History.txt
|
85
103
|
- FAQ.txt
|
104
|
+
- History.txt
|
105
|
+
- Manifest.txt
|
86
106
|
- README.txt
|
87
107
|
files:
|
88
|
-
- Manifest.txt
|
89
|
-
- LICENSE
|
90
|
-
- History.txt
|
91
108
|
- FAQ.txt
|
109
|
+
- History.txt
|
110
|
+
- LICENSE
|
111
|
+
- Manifest.txt
|
92
112
|
- README.txt
|
93
113
|
- Rakefile
|
94
114
|
- bin/jobmanager
|
@@ -96,29 +116,22 @@ files:
|
|
96
116
|
- examples/example.rb
|
97
117
|
- examples/jobmanager.yaml
|
98
118
|
- lib/jobmanager.rb
|
119
|
+
- lib/jobmanager/application.rb
|
99
120
|
- lib/jobmanager/applicationconfig.rb
|
100
121
|
- lib/jobmanager/applicationlogger.rb
|
101
122
|
- lib/jobmanager/applicationoptionparser.rb
|
102
|
-
- lib/jobmanager/application.rb
|
103
123
|
- lib/jobmanager/openonfirstwritefile.rb
|
104
124
|
- lib/jobmanager/system.rb
|
105
125
|
- lib/jobmanager/teestream.rb
|
106
126
|
- lib/jobmanager/timestampedstream.rb
|
107
127
|
- lib/jobmanager/util.rb
|
108
|
-
-
|
109
|
-
- test/mock_syslog.rb
|
110
|
-
- test/test_applicationlogger.rb
|
111
|
-
- test/test_config.rb
|
112
|
-
- test/test_jobmanager.rb
|
113
|
-
- test/test_openonfirstwritefile.rb
|
114
|
-
- test/test_system.rb
|
115
|
-
- test/test_teestream.rb
|
116
|
-
- test/configs/email_settings.rb
|
128
|
+
- lib/jobmanager/version.rb
|
117
129
|
- test/configs/all_values.yaml
|
118
130
|
- test/configs/bad_email_condition.yaml
|
119
131
|
- test/configs/bad_no_central_log_file.yaml
|
120
132
|
- test/configs/bad_number_of_job_logs.yaml
|
121
133
|
- test/configs/bad_timeout_zero.yaml
|
134
|
+
- test/configs/email_settings.rb
|
122
135
|
- test/configs/incomplete_1.yaml
|
123
136
|
- test/configs/jobmanager_1.yaml
|
124
137
|
- test/configs/jobmanager_2.yaml
|
@@ -131,8 +144,18 @@ files:
|
|
131
144
|
- test/configs/jobmanager_7_no_log_rotation.yaml
|
132
145
|
- test/configs/minimum_plus_email_settings.yaml
|
133
146
|
- test/configs/minimum_required.yaml
|
147
|
+
- test/helpers.rb
|
148
|
+
- test/mock_syslog.rb
|
149
|
+
- test/test_applicationlogger.rb
|
150
|
+
- test/test_config.rb
|
151
|
+
- test/test_jobmanager.rb
|
152
|
+
- test/test_openonfirstwritefile.rb
|
153
|
+
- test/test_system.rb
|
154
|
+
- test/test_teestream.rb
|
134
155
|
has_rdoc: true
|
135
|
-
homepage:
|
156
|
+
homepage: http://www.rubyforge.org/projects/jobmanager
|
157
|
+
licenses: []
|
158
|
+
|
136
159
|
post_install_message:
|
137
160
|
rdoc_options:
|
138
161
|
- --main
|
@@ -154,10 +177,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
177
|
requirements: []
|
155
178
|
|
156
179
|
rubyforge_project: jobmanager
|
157
|
-
rubygems_version: 1.
|
180
|
+
rubygems_version: 1.3.5
|
158
181
|
signing_key:
|
159
|
-
specification_version:
|
160
|
-
summary: This package
|
182
|
+
specification_version: 3
|
183
|
+
summary: This package simplifies monitoring / reporting cron jobs on unix systems
|
161
184
|
test_files:
|
162
185
|
- test/test_jobmanager.rb
|
163
186
|
- test/test_openonfirstwritefile.rb
|