#! /bin/sh
# $Header: /global/src/etc/cron/RCS/cl-anacron-clear-tmp-lp,v 1.3 2018/10/18 10:41:23 pb22 Exp $
# clear out old 'tmp' files which belong to lp
# "MAILTO" in /etc/anacrontab should be right
V_USER="${V_USER--user lp}"	# Only look for lp's files
V_TIME="${V_TIME--ctime +1}"	# which were created over a day ago
V_DEPTH="${V_DEPTH--maxdepth 1}" # directly in /tmp/
PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH find /tmp/ $V_DEPTH -type f $V_USER $V_TIME -ls -exec rm -v {} \;
