Add invoice cancelling cronjob

This commit is contained in:
Martin Lensment 2015-04-27 15:23:12 +03:00
parent 6070c31ed6
commit bd9ca4e1a2

View file

@ -16,6 +16,10 @@ every 10.minutes do
runner 'ZonefileSetting.generate_zonefiles'
end
every 6.months, at: '1am' do
every 6.months, at: '12pm' do
runner 'Contact.destroy_orphans'
end
every 1.days, at: '12:10pm' do
runner 'Invoice.cancel_overdue_invoices'
end