15 lines
363 B
Bash
Executable file
15 lines
363 B
Bash
Executable file
#!/bin/bash
|
|
|
|
PATH=$PATH:/usr/local/bin
|
|
|
|
#. /home/ntuh/d111/bin/activate
|
|
#conda init bash
|
|
. /opt/conda/etc/profile.d/conda.sh
|
|
conda activate django2
|
|
|
|
locale
|
|
|
|
cd $(dirname $0)
|
|
python getctmr.py
|
|
/usr/bin/mysqldump -pn122119493 adm15 registry_xraytextreport > registry_xraytextreport.sql
|
|
/usr/bin/rsync -Pz -e "ssh -p 28808" registry_xraytextreport.sql root@mdi.bar:
|