workaholic-cron 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -0
  3. data/lib/workaholic.rb +0 -0
  4. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0297d803d19049bb9c2d489c1b93db2b45ae8fa
4
- data.tar.gz: 0b689792a2a112c9ccb16c144afe1ebc74fdf9d7
3
+ metadata.gz: e09600ad1a3055e282925209d623d2cdd2890cdc
4
+ data.tar.gz: 1435cfe904d6242f760805f1edaf2c9d6a7875a7
5
5
  SHA512:
6
- metadata.gz: 810dc5e91ab142225315cf64e5514eb7ff933b5db7b8f1d3dbae196cfb7df5212a24502ef60c54d29e3e1a9cfed208a4ea5139afcdef94785dabe82f5978c2f4
7
- data.tar.gz: 247eea18bb7b5e030f5f44e22b16fbe10a4fc0d27e27a481fd6ee47dc54b92698cf846bfc5683b7f937a8911e19bedf5c1119998f6d468d5497d4b8bb4a50a04
6
+ metadata.gz: b2ebfc0a0520eb5ba7876f378e2ab944d1e38606cd5d72058d2e4cc81743256b5faf750b372fda4d1da9d21f3c9a66bf46a17248d694a4da4f8f74230e60ff12
7
+ data.tar.gz: af789fb71ff005f0a13f4de8cfe1edbfdcbf61c12676eff40de83304a6a4a2b093801e03ef7d080cd0b951d38f854a36aa08f2a6de3f3901a5f4a047f67a883c
data/README.md ADDED
@@ -0,0 +1,25 @@
1
+ ### Workaholic
2
+ ==========
3
+ Ruby Gem to find long running child processes like cron jobs.
4
+
5
+ ### Usage
6
+
7
+ Install workaholic and look for cron jobs that have been running for
8
+ more than 5 minutes.
9
+
10
+ `gem install workaholic-cron`
11
+
12
+ `require 'workaholic'`
13
+
14
+ `workers = Workaholic.new 'cron', 300`
15
+
16
+ `workers.scan`
17
+
18
+ ### Retrun
19
+
20
+ Returns a Hash of pid:elapsedtime of all long-running cron jobs.
21
+
22
+ `=> {:"4389"=>52205, :"4335"=>52216, :"4342"=>52216}`
23
+
24
+ ### License
25
+ The MIT license.
data/lib/workaholic.rb CHANGED
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workaholic-cron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alaa Qutaish
@@ -14,9 +14,11 @@ description: A simple gem to find cron jobs that have been running for long time
14
14
  email: alaa.qutaish@gmail.com
15
15
  executables: []
16
16
  extensions: []
17
- extra_rdoc_files: []
17
+ extra_rdoc_files:
18
+ - README.md
18
19
  files:
19
20
  - lib/workaholic.rb
21
+ - README.md
20
22
  homepage: http://rubygems.org/gems/workaholic
21
23
  licenses:
22
24
  - MIT