(file) Return to cleanup_by_cron.csh CVS log (file) (dir) Up to [Development] / JSOC / proj / workflow

File: [Development] / JSOC / proj / workflow / cleanup_by_cron.csh (download) / (as text)
Revision: 1.3, Thu Mar 2 18:33:34 2017 UTC (5 years, 9 months ago) by jeneen
Branch: MAIN
CVS Tags: Ver_LATEST, Ver_9-5, Ver_9-41, Ver_9-4, Ver_9-3, Ver_9-2, Ver_9-1, Ver_9-0, HEAD
Changes since 1.2: +1 -1 lines
Added subdir for logs.

#! /bin/csh -f

source $HOME/.cshrc
source $HOME/.login

setenv WORKFLOW_DATA /home/jsoc/pipeline
#setenv WORKFLOW_ROOT /home/phil/jsoc/proj/workflow
setenv WORKFLOW_ROOT /home/jsoc/cvs/Development/JSOC/proj/workflow

cd $WORKFLOW_DATA

# Cleanup old log files of successful tasks.
# gatekeeper need not be stopped for this process since
# only completed tasks will have old logs removed.

set NOW = `date +%Y%m%d_%H%M`
$WORKFLOW_ROOT/cleanup.csh >& $WORKFLOW_DATA/cleanup_logs/cleanup_log.$NOW

Karen Tian
Powered by
ViewCVS 0.9.4