Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Daily backing up of reduce.py and reduce_vars.py

Dimitar Tasev edited this page Nov 16, 2020 · 2 revisions

The development node relies on 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.

Clone this wiki locally