cron_script.sh
Go to the documentation of this file.
1 #!/bin/bash
2 
3 echo Will send output to /dune/app/users/bckhouse/dune_dox/cron.log
4 exec > /dune/app/users/bckhouse/dune_dox/cron.log 2>&1
5 
6 hostname
7 whoami
8 date
9 crontab -l
10 klist
11 
12 export HOME=/tmp # otherwise failure to access ~/.gitconfig is fatal
13 
14 cd /dune/app/users/bckhouse/dune_dox/ || exit 1
15 
16 echo Checking out...
17 time ./get_srcs.sh || exit 2
18 
19 echo Doxygening...
20 #time ./run_doxygen.sh || exit 3
21 
22 echo Copying...
23 time ./copy_to_dunescience.sh || exit 4
24 
25 echo DONE
26 date