Skip to content

Embargo Release Processing

Naomi Dushay edited this page Jun 14, 2016 · 7 revisions

cron job checks calls embargo_release.rb script in common_accessioning

VM: sul-robots(n)-(prod|test) script: https://github.com/sul-dlss/common-accessioning/blob/master/robots/accession/embargo_release.rb

cron job: 16 2 * * * /bin/bash -l -c 'BUNDLE_GEMFILE=/home/lyberadmin/common-accessioning/current/Gemfile ROBOT_ENVIRONMENT=test /usr/local/rvm/wrappers/default/ruby /home/lyberadmin/common-accessioning/current/robots/accession/embargo_release.rb >> /home/lyberadmin/common-accessioning/current/log/crondebug.log 2>&1'

embargo_release.rb script: