Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 99e3df60d0
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (19 sloc) 0.824 kb
set :ruby, `which ruby`.strip
set :path, File.expand_path("..", __FILE__)
harmonia_run = %{cd :path && bundle exec :ruby -I:path/lib -rharmonia -e}
job_type :harmonia, %{#{harmonia_run} "Harmonia.new.:task(*:tasks)"}
every :monday, :at => "11.59am" do
harmonia :unassign, tasks: [:invoices, :weeknotes, :fire_logbook, :wages, :vat_return, :annual_return, :corporation_tax_payment, :corporation_tax_submission]
end
every :monday, :at => "12:00pm" do
harmonia :assign, tasks: [:invoices, :weeknotes, :vat_return, :annual_return, :corporation_tax_payment, :corporation_tax_submission]
end
every :thursday, :at => "10.00am" do
harmonia :assign, tasks: [:fire_logbook]
end
every :thursday, :at => "12:00pm" do
harmonia :remind, tasks: [:weeknotes]
end
every "0 12 25 * *" do
harmonia :assign, tasks: [:wages]
end
Jump to Line
Something went wrong with that request. Please try again.