mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-28 15:36:21 +00:00
Merge branch 'blazer' into panel.sutty.nl
This commit is contained in:
commit
f94c641a70
1 changed files with 0 additions and 1 deletions
|
@ -20,7 +20,6 @@ class UriCollectionJob < PeriodicJob
|
||||||
|
|
||||||
def perform(site_id:, once: true)
|
def perform(site_id:, once: true)
|
||||||
@site = Site.find site_id
|
@site = Site.find site_id
|
||||||
return unless File.directory? destination
|
|
||||||
|
|
||||||
# Recordar la última vez que se corrió la tarea
|
# Recordar la última vez que se corrió la tarea
|
||||||
stat = site.stats.create! name: STAT_NAME
|
stat = site.stats.create! name: STAT_NAME
|
||||||
|
|
Loading…
Reference in a new issue