# Solar Soft update, 5am each day
#
00 05 * * * bash --login -c "IDL_DEV=Z; NRL_LIB=\$TUB; export NRL_LIB IDL_DEV; \$SSW/gen/bin/ssw_batch go_update_ssw \$SSW/site/setup/update_ssw.log"
#
# $SMEI Software update from ips, midnight each day
#
00 13 * * * bash --login -c "rsync -av --delete ips:smei/ \$SMEI"
#
# $DAT update (excludes Nagoya forecast), 4am each day
#
00 06 * * * bash --login -c "rsync -av --delete --exclude=nagoya/slow --exclude=nagoya/fast --exclude=nagoya/john --exclude=nagoya/ooty ips:dat/ \$DAT"
#
# Copy .txt files from $HAFB (on smeidb) into $SMEIDB/cat/list (10am each day)
#
00 10 * * * bash --login -c "find \$HAFB -name \*.txt -exec cp -vpf {} \$SMEIDB/cat/list \;"
#
# Recreate frame counts from scratch and create skyd catalogues (once a month)
#
00 13 6 * * bash --login -c "IDL_DEV=Z,none; export IDL_DEV; echo smei_orbits_stat,/force,dest=\'\$SMEIDB/cat/list\' | idl -quiet; echo smei_orbits_stat,/force,mode=0,dest=\'\$SMEIDB/cat/list\' | idl -quiet; echo smei_orbits_stat,/force,mode=1,dest=\'\$SMEIDB/cat/list\' | idl -quiet; echo smei_orbits_stat,/force,mode=2,dest=\'\$SMEIDB/cat/list\' | idl -quiet; echo skyd_cat,/smeidb | idl -quiet; echo skyd_cat,/smeidb,/cam3smooth | idl -quiet"
#
# Update frame counts, 6am each day
#
00 06 * * * bash --login -c "IDL_DEV=Z,none; export IDL_DEV; echo smei_orbits_stat, /update, silent=1 | idl -quiet; echo smei_orbits_stat,/update,silent=1,mode=0 | idl -quiet; echo smei_orbits_stat,/update,silent=1,mode=1 | idl -quiet; echo smei_orbits_stat,/update,silent=1,mode=2 | idl -quiet"
#
# Update state changes, 12am each day
#
00 12 * * * bash --login -c "IDL_DEV=Z,none; export IDL_DEV; echo smei_orbits_stat,/update,/state,silent=1 | idl -quiet"
#
# Update header database and time series plots for all data
# (2006/05/19: now running weekly on local machine for each SMEIDCn drive)
#
#15 20 18 * * bash --login -c "IDL_DEV=Z,none; export IDL_DEV; echo smei_hdr_update,/all,source=\'SMEIDC?\',silent=1 | idl -quiet ; echo smei_hdr_update,/all,/tplot,silent=1 | idl -quiet"
#
# Update header database on current drive
#
00 04 * * * bash --login -c "IDL_DEV=Z,none; export IDL_DEV; echo smei_hdr_update,/update,source=\'SMEIDC?\',silent=1,pscmd=\'smei_hdr_update,/update\' | idl -quiet"
#
# Update list of available skymaps $SMEIDB/cat/list/smei_sky_cnt.txt and $SMEIDB/cat/list/smei_equ_cnt.txt
# Every day at 3 am
#
03 00 * * * bash --login -c "\$JAVA/bin/java -cp \$SMEI/java/common org.skymaps.SkyMapCounter; \$JAVA/bin/java -cp \$SMEI/java/common org.skymaps.SkyMapCounter -src=\$SMEISKY0/equ -file=smei_equ_cnt.txt; \$JAVA/bin/java -cp \$SMEI/java/common org.skymaps.SkyMapCounter -src=\$SMEISKY0/ecl -file=smei_ecl_cnt.txt"
#
#
# Update file with start times for SMEI orbits once a day and copy to master.
#
30 07 * * * bash --login -c "IDL_DEV=Z; export IDL_DEV; echo smei_sgp4_orbits,/remote | idl -quiet"
#
# Check for new weekly calibration in directory $SMEIDB/cal/new
#
00 07 * * * bash --login -c "smeidb_newcal"
*/5 * * * * /home/soft/.info/info.sh
#MySQL Administrator Backup [smeiwebsite] (do not change this line)
0 20 * * 5 /usr/bin/mabackup -d /var/www/html/sqb -x smeiweback -c backup smeiwebsite
