The Observatories of the Carnegie Institution for Science (Carnegie Observatories), Pasadena, CA
Location of this document: http://instrumentation.obs.carnegiescience.edu/Software/FourStar/how.html
*/10 * * * * sleep 10 ; ./fs_scp.csh &> /dev/null
#!/bin/csh -f set list = `ls /tmp/fs1?????????.dat` foreach file ( $list ) if { scp $file instruments@xxx:FourStar/Datfiles/ } then rm -f $file endif end set list = `ls /tmp/fs1?????????.log` foreach file ( $list ) if { scp $file instruments@xxx:FourStar/Logfiles/ } then rm -f $file endif end
*/10 * * * * sleep 30 ; cd $HOME/FourStar/Scripts ; ./create_status.csh > /dev/null */15 * * * * sleep 35 ; cd $HOME/FourStar/Scripts ; ./alarm.csh > /dev/null 2 * * * * sleep 30 ; cd $HOME/FourStar/Scripts ; ./create_weekly.csh > /dev/null 32 */2 * * * sleep 30 ; cd $HOME/FourStar/Scripts ; ./create_monthly.csh > /dev/null 1 8 * * * cd $HOME/FourStar/Scripts ; ./cleanup.csh 14 > /dev/null
2009-04-08, Christoph C. Birk, Carnegie Observatories