!--------------------------------------------------------------------
!
! Name: podump.resource
!
! Purpose: This file is used to construct the trigger, error, and 
!          success status fields in the observation status file.
!
!	This resource file uses a time trigger.
!
!--------------------------------------------------------------------
!                          REVISION HISTORY
!--------------------------------------------------------------------
!            PR
!   DATE   NUMBER  User  Description
! -------- ------  ------ -------------------------------------
! 11jul12  70739   FHam   first version 
!--------------------------------------------------------------------
PROCESS_NAME = podump           ! Short name for process id
TASK = <xpoll -p $PATH_FILE -r podump>
COMMAND  = podump.csh           ! Name of the command procedure

DESCRIPTION = 'Moves pod files to HLA pipeline'
SYSTEM = OPUS
CLASS = acs 

TIME_RANK            = 1           !Time trigger periodically
DELTA_TIME           = 000:00:01:00
POLLING_TIME         = 60

!
! Valid exit codes for COMMAND that allow XPOLL to continue.
! All other XPOLL states will cause process to go ABSENT.
! (The labels are not used for TIME events)

XPOLL_STATE.00 = OSF_NORMAL
XPOLL_STATE.01 = OSF_ERROR
XPOLL_STATE.03 = OSF_TRY_AGAIN

XPOLL_ERROR_COUNT = 1           ! exit if any error occurs (for now)

ENV.HLA_POD_IN = HLA_POD_DIR    ! where HLA puts PODs
ENV.MV_PODS_HERE = POD_IN_DIR   ! where to move the pods for HLA DP
