javan/whenever — pull request #436 by klebervirgilio (2014-03-11 00:15:08+00:00)
Title: Add template locals variables to job_template

Use Case: Run crons with [lockrun](http://www.unixwiz.net/tools/lockrun.html).

`/path/to/lockrun --lockfile=/tmp/:lockrun_id.lockrun -- sh -c 'some command'`

This pull-request adds the ability to interpolate variables in a job_template.

```ruby
set :job_template, "/path/to/lockrun --lockfile=/tmp/:lockrun_id.lockrun -- sh -c ':job'"

every 1.day, :at => '5:00 am' do
rake "foo:bar", template_locals: {:lockrun_id => 'ID'}
end
```