Decreased wait (sleep) times for chertex.sh slightly.

master
Taha Ahmed 7 years ago
parent 1e6ce316f1
commit b7d10d9863

@ -32,7 +32,7 @@ Rfiletype="R"
TeXfiletype="tex" TeXfiletype="tex"
tikzfiles="*.tikz" tikzfiles="*.tikz"
Rnwfiles="*.Rnw" Rnwfiles="*.Rnw"
auxfiles="*.aux *.bbl *.bcf *.blg *.fdb* *.figlist *.fls *.lof *.log *.lot *.lox *.makefile *.map *.out *.run* *.tdo *.toc *.dep *.dpth" auxfiles="*.acn *.acr *.alg *.aux *.bbl *.bcf *.blg *.dep *.dpth *.fdb* *.figlist *.fls *.glg *.glo *.gls *.lof *.log *.lot *.out *.lox *.makefile *.map *.out *.run* *.slg *.slo *.sls *.tdo *.toc *.xdy"
# depending on number of args and their content, do different things... # depending on number of args and their content, do different things...
@ -76,7 +76,7 @@ if [ $# -eq 1 ]; then
bash -c "/home/taha/chepec/chetex/common/bash/shiny-matrix.sh" & bash -c "/home/taha/chepec/chetex/common/bash/shiny-matrix.sh" &
# terminate this script # terminate this script
echo "<cheRTeX> Terminating..." echo "<cheRTeX> Terminating..."
simpledelay.sh 4 simpledelay.sh 2
exit 0 exit 0
fi fi
@ -102,7 +102,7 @@ if [ $# -eq 1 ]; then
echo "<cheRTeX> -----------------------" echo "<cheRTeX> -----------------------"
echo "<cheRTeX> Rscript knitr completed" echo "<cheRTeX> Rscript knitr completed"
echo "<cheRTeX> -----------------------" echo "<cheRTeX> -----------------------"
simpledelay.sh 4 simpledelay.sh 2
else else
# Run pgfSweave commands # Run pgfSweave commands
echo "<cheRTeX> ---------------------------" echo "<cheRTeX> ---------------------------"
@ -120,7 +120,7 @@ if [ $# -eq 1 ]; then
echo "<cheRTeX> -------------------------" echo "<cheRTeX> -------------------------"
echo "<cheRTeX> R CMD pgfsweave completed" echo "<cheRTeX> R CMD pgfsweave completed"
echo "<cheRTeX> -------------------------" echo "<cheRTeX> -------------------------"
simpledelay.sh 4 simpledelay.sh 2
fi fi
# Run vc script if vc exists in working directory # Run vc script if vc exists in working directory
@ -265,10 +265,10 @@ else
fi fi
echo "------------------------------------" echo "-------------------------------------"
echo "=== chertex.sh completed ===" echo "=== chertex.sh completed ==="
echo "=== $(date) ===" echo "=== $(date) ==="
echo "------------------------------------" echo "-------------------------------------"
simpledelay.sh 10 simpledelay.sh 3
exit 0 exit 0

@ -7,8 +7,8 @@
b="https://www.rememberthemilk.com" b="https://www.rememberthemilk.com"
c="https://asks.timetask.com" c="https://asks.timetask.com"
d="https://keep.google.com/keep/" d="https://keep.google.com/keep/"
e="https://luxor.chepec.se/tagspaces/"
f="https://shiny.chepec.se" f="https://shiny.chepec.se"
g="https://luxor.chepec.se/nextcloud/"
# start the local http server for serving PDF reports (used in Shiny sample matrix) # start the local http server for serving PDF reports (used in Shiny sample matrix)
cd /home/taha/chepec cd /home/taha/chepec
@ -16,6 +16,6 @@ cd /home/taha/chepec
python /home/taha/chepec/chetex/common/bash/shiny-python-localhost.py & python /home/taha/chepec/chetex/common/bash/shiny-python-localhost.py &
# start Chrome # start Chrome
google-chrome $b $c $d $e $f google-chrome $b $c $d $f $g
exit 1 exit 1

Loading…
Cancel
Save