This repository was archived by the owner on Nov 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Daily backing up of reduce.py and reduce_vars.py
Anders Markvardsen edited this page Nov 17, 2020
·
2 revisions
For this to work, one node needs to be setup to with a cron job to run the backup_reduction_scripts.py
script which will copy all reduce.py
and reduce_vars.py
files for ALL instruments, regardless of whether they're currently used/active/paused etc.
The crontab syntax to run it daily at 1AM can be found in the backup_reduction_scripts.py
file itself.
The script requires that the destination folder is pre-configured manually to be a git repository that has checked out https://github.com/ISISSoftwareServices/AutoreductionScripts at the STORAGE_DIR
location configured in the script. The git push
from the script will always push to origin/master
. Further please use the account autoreduce-bot
for committing to this repository.