Sha256: 90f84d8cae9c1f2a4b49a284c48103a4712ca1d5fad2e3770586c806cec3adf0

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

$LOAD_PATH.unshift '../lib'
require 'stalker'

include Stalker

priority :high do
	job 'send.email' do |args|
		puts "Sending email to args['email']"
	end

	job 'transform.image' do |args|
		puts "Image transform"
	end
end

priority :low do
	job 'cleanup.strays' do |args|
		puts "Cleaning up"
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stalker-0.1.0 examples/jobs.rb