aboutsummaryrefslogtreecommitdiffstats
path: root/config/schedule.rb
diff options
context:
space:
mode:
authorTeddy Wing2018-02-05 16:11:03 +0100
committerTeddy Wing2018-02-06 10:50:51 +0100
commitbe1e4ce05348e722e52c2e68f5b1c1514caa00dd (patch)
tree55d69b2d76b9a47c1f7b06e7b821b705c90de08a /config/schedule.rb
parent95536ec9ffe465cb591bab3c1e770264440a7c8a (diff)
downloadchouette-core-be1e4ce05348e722e52c2e68f5b1c1514caa00dd.tar.bz2
schedule.rb: Abort old imports before import notification
As a result of a new requirement, before doing the existing work we were doing in the imports cron job (notifying parent imports), we first need to clear out old imports and mark them as 'aborted'. Refs #4963
Diffstat (limited to 'config/schedule.rb')
-rw-r--r--config/schedule.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/schedule.rb b/config/schedule.rb
index 08488c255..636ab654e 100644
--- a/config/schedule.rb
+++ b/config/schedule.rb
@@ -40,6 +40,7 @@ every :day, :at => '4:00 am' do
end
every 5.minutes do
+ rake "import:abort_old"
rake "import:notify_parent"
end