-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embargo expiry job #526
Comments
Need to investigate how to run this periodically/reoccurring? Job probably runs once a day and checks for any expired embargo_end_date. Need to use a cron job or use a cron-like gem to give this behaviour for us with sidekiq. https://github.com/ondrejbartas/sidekiq-cron |
Is there a requirement for how often we want to be checking embargo dates? Every day? At 6 AM or something? |
Hydranorth did it at midnight IIRC |
Looks like it was 10:01 PM? From digging into the ansible playbook here's the relevant section:
I guess we can agree it be daily. I'll make it 10 PM (no 1 minute cause that's silly) unless someone says otherwise |
This is now in production. Closing issue |
We need to set up a Sidekiq job for scanning items with VISIBILITY_EMBARGO and whose embargo_end_date is < current date,and transition them to the post-embargo visibility. I believe there's also a requirement to push information regarding this change into the embargo_history attribute?
The text was updated successfully, but these errors were encountered: