mirror of
https://github.com/plashchynski/crono.git
synced 2026-05-26 01:39:17 +02:00
Add migration to generator
This commit is contained in:
@@ -18,6 +18,10 @@ module Crono
|
||||
"Perform #{performer} #{period.description}"
|
||||
end
|
||||
|
||||
def job_id
|
||||
description
|
||||
end
|
||||
|
||||
def perform
|
||||
logger.info "Perform #{performer}"
|
||||
self.last_performed_at = Time.now
|
||||
|
||||
Reference in New Issue
Block a user