-
Notifications
You must be signed in to change notification settings - Fork 12
/
reaper.screenrc
43 lines (32 loc) · 1.82 KB
/
reaper.screenrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# vim: filetype=screen :
defscrollback 100000
hardstatus alwayslastline "%{W} %w %= %D %d %M %y %c"
bindkey -k kD stuff ^H
shell -bash
sessionname reaper
screen -t bash 0
stuff "source ~/tg2env/bin/activate \015"
screen -t dicomreaper 1
stuff "source ~/tg2env/bin/activate \015"
stuff "nimsproc/dicomreaper.py -f log/dicomreaper_cnimr.log /run/shm/dicomreaper_cnimr /scratch/nims_stage cnimr:4006:4008 reaper cnimr \015"
screen -t pfilereaper 2
stuff "source ~/tg2env/bin/activate \015"
stuff "nimsproc/pfilereaper.py -f log/pfilereaper_cnimr.log /run/shm/pfilereaper_cnimr /scratch/nims_stage /cnimr/pfiles \015"
screen -t sorter 3
stuff "source ~/tg2env/bin/activate \015"
stuff "nimsproc/sorter.py -f log/sorter.log -p /scratch/nims_unsortable postgresql:https://nims:[email protected]:5432/nims /scratch/nims_stage /cnifs/nims \015"
screen -t scheduler 4
stuff "source ~/tg2env/bin/activate \015"
stuff "nimsproc/scheduler.py -f log/scheduler.log postgresql:https://nims:[email protected]:5432/nims /cnifs/nims \015"
screen -t processor 5
stuff "source ~/tg2env/bin/activate \015"
stuff "nimsproc/processor.py -f log/processor.log -j8 -t /run/shm -e\"~Epoch.psd.contains(u'mux')\" postgresql:https://nims:[email protected]:5432/nims /cnifs/nims /scratch/physio \015"
screen -t mux_proc 6
stuff "source ~/tg2env/bin/activate \015"
stuff "nimsproc/processor.py -f log/mux_proc.log -j1 -k32 -t /run/shm -e\"Epoch.psd.contains(u'mux')\" postgresql:https://nims:[email protected]:5432/nims /cnifs/nims /scratch/physio \015"
screen -t qa 7
stuff "source ~/tg2env/bin/activate \015"
stuff "nimsproc/qa_report.py -j8 postgresql:https://nims:[email protected]:5432/nims /cnifs/nims \015"
screen -t physio_sync 8
stuff "source ~/tg2env/bin/activate \015"
stuff "nimsproc/datasyncer.py /cnimr/physio /scratch 15 \015"