remove unused file
This commit is contained in:
parent
ad8c2c08a4
commit
a7603b1cfb
|
@ -1,12 +0,0 @@
|
||||||
module Jobs
|
|
||||||
|
|
||||||
class CleanUpDigestKeys < Jobs::Scheduled
|
|
||||||
every 1.day
|
|
||||||
|
|
||||||
def execute(args)
|
|
||||||
# Remove unused digest keys
|
|
||||||
DigestUnsubscribeKey.where('created_at < ?', 2.months.ago).delete_all
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
|
Loading…
Reference in New Issue