Cron
cron
is a job scheduler used on Rhea (linux server).
foranw@rhea
Automates
- task db parse and extraction for Reward Learning and Habituation Task and Slips Task
- main code to git backup
- LNCD Bot messaging: git and wiki updates
crontab -l |sed -En 's/#.*//;/^\s*[0-9]/p' # 2024-11-24 0 0 * * * /home/foranw/src/backup/allscripts/bakgit/runme.bash 00 08 * * 1 /opt/ni_tools/slacktheme_bot/lncdgit_summary | OPENSSL_CONF="/opt/ni_tools/slacktheme_bot/openssl.conf" /opt/ni_tools/slacktheme_bot/slack-msg codereview 00 09 * * 1 /opt/ni_tools/slacktheme_bot/lncdwiki_reminder noedits 00 12 * * 2 PASS=$(pass wiki) /opt/ni_tools/slacktheme_bot/lncdwiki_weekly_summary | OPENSSL_CONF="/opt/ni_tools/slacktheme_bot/openssl.conf" /opt/ni_tools/slacktheme_bot/slack-msg wiki 0 1 * * * make -C /Volumes/Hera/Projects/HabitChoiceLandscape/task results/summary.csv 00 2 * * * make -C /Volumes/Hera/Projects/SPA/scripts/mri bids/db/nii.lst 00 3 * * * make -C /Volumes/Hera/Projects/Habit/mr 10 3 * * * /opt/ni_tools/tasks/slipstask/00_loef_backup.bash
lncd@eyetracker-task
All lncdtask loef building eye tracking edf
files are synced to bea_res via rsync from the eytracker to rhea.1)
0 0 * * * rsync -avhi $HOME/Desktop/lncdtask/subj_info/ rhea:/Volumes/L/bea_res/Data/Temporary\ Raw\ Data/lab_eyetracker/subj_info/
1)
NB. Eyetracking task computer has two ethernet ports. When the eyetracker is on (and always connected to the eyetracking task PC), outside connectivity is lost.