#!/bin/csh -f # # run dexpire once every four hours. If the lock is # already taken, do not run dexpire at this time. # # XXX REMOVED XXX - we now run expire once an hour # see hourly.expire # #cd ~ # #echo "`date` $0 BEGIN" # #rm -f .delayed-expire # #dbin/plock -t .lock dbin/dexpire -a # #if ( $status != 0 ) then # echo "rescheduling expire to run again soon" # touch .delayed-expire #endif # #echo "`date` $0 END"