Ago Crontab

Listing of ago user crontab:

00,20,40 * * * * /Volumes/physics_data/Code/AGO_Code/ARGOS_Code/Shell/finddata.sh
05,25,45 * * * * /Volumes/physics_data/Code/AGO_Code/ARGOS_Code/Shell/runargosx.sh
48 12 * * * /Volumes/physics_data/Code/AGO_Code/ARGOS_Code/Shell/dayarch.sh
30 8 * * * /Volumes/physics_data/Code/AGO_Code/ARGOS_Code/Shell/data.sh

finddata.sh
This program is ran at :00, :20, and :40 past every hour of every day. This script checks for new argos.dat file every 20 minutes. If one arrives (labeled PETIT_2752_YYYYMMDD*) it moves it to the incoming folder in the ago work directory. The next time through it removes the argos.dat file from the incoming folder after it has been processed.

runargosx.sh
This program is ran at :05, :25, and :45 past every hour of every day. If a new argos.dat file has been placed in the incoming folder, this script moves that file to the ago work directory and processes it. First, it stores a copy of the daily argos message to the ftp data directory. Then, it calls argos_new_ago.java to do the actual processing of the argos.dat file. Finally, it removes the argos.dat file from the agouser directory and the incoming directory so that it is not processed more than once.

dayarch.sh
This program is ran at 12:48 every day. This script moves the processed argos files into an archive directory and runs the summary.sh script which creates a summary.lis file.

data.sh
This program is ran at 8:30 every morning. This script calls the orgdata.java program which takes each of the daily argos messages and organizes the data within them into their respective days. Then it calls the argosavailable.java program which updates the argos data availability graphic on the space/ago website. Finally, it moves the ago availability jpeg to the dataAval directory and the ago/plot directory.