Skip to content

Commit

Permalink
Merge pull request #1193 from pulibrary/1182-harvesting
Browse files Browse the repository at this point in the history
Stop scheduled harvesting of other institution records
  • Loading branch information
hackartisan authored Jan 5, 2024
2 parents eed1d50 + de62be7 commit d700770
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions config/schedule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
## Harvest new records from other GeoBlacklight sites

# First day of every month at 1 AM
every "0 1 1 * *", roles: [:index] do
rake "pulmap:geoblacklight_harvester:index[STANFORD]"
end
# every "0 1 1 * *", roles: [:index] do
# rake "pulmap:geoblacklight_harvester:index[STANFORD]"
# end

# Task is commented out until we update our schema to 2.0
# In the meantime, we will pull Big10 documents from OpenGeoMetadata.
Expand All @@ -42,36 +42,36 @@
# end

# Third day of every month at 1 AM
every "0 1 3 * *", roles: [:index] do
rake "pulmap:geoblacklight_harvester:index[NYU]"
end
# every "0 1 3 * *", roles: [:index] do
# rake "pulmap:geoblacklight_harvester:index[NYU]"
# end

# Fourth day of every month at 1 AM
every "0 1 4 * *", roles: [:index] do
rake "pulmap:geoblacklight_harvester:index[BARUCH]"
end
# every "0 1 4 * *", roles: [:index] do
# rake "pulmap:geoblacklight_harvester:index[BARUCH]"
# end

# Fifth day of every month at 1 AM
every "0 1 5 * *", roles: [:index] do
rake "pulmap:geoblacklight_harvester:index[CORNELL]"
end
# every "0 1 5 * *", roles: [:index] do
# rake "pulmap:geoblacklight_harvester:index[CORNELL]"
# end

# Sixth day of every month at 1 AM
every "0 1 6 * *", roles: [:index] do
rake "pulmap:geoblacklight_harvester:index[MIT]"
end
# every "0 1 6 * *", roles: [:index] do
# rake "pulmap:geoblacklight_harvester:index[MIT]"
# end

# Seventh day of every month at 1 AM
every "0 1 7 * *", roles: [:index] do
rake "pulmap:geoblacklight_harvester:index[BERKELEY]"
end
# every "0 1 7 * *", roles: [:index] do
# rake "pulmap:geoblacklight_harvester:index[BERKELEY]"
# end

# Eighth day of every month at 1 AM
every "0 1 8 * *", roles: [:index] do
rake "pulmap:geoblacklight_harvester:index[BOULDER]"
end
# every "0 1 8 * *", roles: [:index] do
# rake "pulmap:geoblacklight_harvester:index[BOULDER]"
# end

# Ninth day of every month at 1 AM
every "0 1 9 * *", roles: [:index] do
rake "pulmap:geoblacklight_harvester:index[TEXAS]"
end
# every "0 1 9 * *", roles: [:index] do
# rake "pulmap:geoblacklight_harvester:index[TEXAS]"
# end

0 comments on commit d700770

Please sign in to comment.