Skip to content

Commit 2f52822

Browse files
committed
update cron schedule for ArchivesSpaces to FOLIO scripts
1 parent 3503c77 commit 2f52822

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

config/schedule.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@
1717
job_type :rake, 'cd :path && :environment_variable=:environment bundle exec rake :task --silent :output'
1818

1919
if Rails.env.folio_sync_prod? # rubocop:disable Rails/UnknownEnv
20+
# Sync Barnard ArchivesSpace resources to FOLIO
21+
every 1.day, at: '6:15 pm' do
22+
rake 'folio_sync:aspace_to_folio:run instance_key=barnard clear_downloads=false modified_since=25'
23+
end
24+
25+
# Sync CUL ArchivesSpace resources to FOLIO
26+
every 1.day, at: '6:30 pm' do
27+
rake 'folio_sync:aspace_to_folio:run instance_key=cul clear_downloads=false modified_since=25'
28+
end
29+
2030
# Remove permanent hold on RBML items returned from ReCAP
2131
every 1.day, at: '7:00 pm' do
2232
rake 'folio_hold_request_update:run repo_key=rbml'
@@ -31,14 +41,4 @@
3141
every 1.day, at: '7:30 pm' do
3242
rake 'folio_hold_request_update:run repo_key=starr'
3343
end
34-
35-
# Sync Barnard ArchivesSpace resources to FOLIO
36-
every 1.day, at: '7:45 pm' do
37-
rake 'folio_sync:aspace_to_folio:run instance_key=barnard clear_downloads=false modified_since=25'
38-
end
39-
40-
# Sync CUL ArchivesSpace resources to FOLIO
41-
every 1.day, at: '8:00 pm' do
42-
rake 'folio_sync:aspace_to_folio:run instance_key=cul clear_downloads=false modified_since=25'
43-
end
4444
end

0 commit comments

Comments
 (0)