README.md in zhong-0.1.9 vs README.md in zhong-0.2.0

- old
+ new

@@ -51,13 +51,43 @@ on(:after_run) do |job, time, ran| puts "#{job} ran?: #{ran}" end + on(:before_disable) do |job| + puts "#{job} is going to be disabled" + end + + on(:after_disable) do |job| + puts "#{job} disabled" + end + + on(:before_enable) do |job| + puts "#{job} is going to be enabled" + end + + on(:after_enable) do |job| + puts "#{job} enabled" + end + error_handler do |e, job| puts "dang, #{job} messed up: #{e}" end end +``` + +## Web UI + +Zhong comes with a web application that can display jobs, their last run and +enable/disable them. + +### Rails + +Add the following to your config/routes.rb: + +```ruby +require 'zhong/web' +mount Zhong::Web, at: "zhong" ``` ## History View the [changelog](https://github.com/nickelser/zhong/blob/master/CHANGELOG.md).