@mzelesky has been manually moving daily the 25 oldest files in lib-sftp-prod from the alma/recap/new-updates to alma/recap/backlog.
What needs to change
Create a cron job that runs daily and moves the 25 oldest files from alma/recap/new-updates into the alma/recap/backlog. Do not count or move the .._delete.tar.gz files.
Level of urgency
[x] High
[ ] Moderate
[ ] Low
Why is this maintenance needed?
@mzelesky should not be doing this manually
Acceptance criteria
[ ] It moves the 25 oldest files from alma/recap/new-updates into the alma/recap/backlog
[ ] The script should not consider the .._delete.tar.gz files.
Description
@mzelesky has been manually moving daily the 25 oldest files in lib-sftp-prod from the
alma/recap/new-updates
toalma/recap/backlog
.What needs to change
Create a cron job that runs daily and moves the 25 oldest files from alma/recap/new-updates into the alma/recap/backlog. Do not count or move the
.._delete.tar.gz
files.Level of urgency
Why is this maintenance needed?
@mzelesky should not be doing this manually
Acceptance criteria
alma/recap/new-updates
into thealma/recap/backlog
.._delete.tar.gz
files.Notes
@carolyncole thank you for the practical suggestion! Online resources for a similar script
This was discussed and decided in the Orangelight meeting on April 18th, 2024