diff options
| author | Teddy Wing | 2018-02-05 16:11:03 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2018-02-06 10:50:51 +0100 | 
| commit | be1e4ce05348e722e52c2e68f5b1c1514caa00dd (patch) | |
| tree | 55d69b2d76b9a47c1f7b06e7b821b705c90de08a /config/schedule.rb | |
| parent | 95536ec9ffe465cb591bab3c1e770264440a7c8a (diff) | |
| download | chouette-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.rb | 1 | 
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 | 
