From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078708811577.tru64-unix-managers.marc@archive.invalid> From: "ing.Bubulac Angela Tatiana" Date: Thu, 14 May 1998 08:50:19 +0000 To: tru64-unix-managers Subject: [Q]runacct and lock file X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078708811577 hello, Sorry, if I done something wrong, but I do not understand why I do not receive response to my questions regarding runacct. Here is my /usr/spool/cron/crontabs/root file: 40 13 * * * find /var/adm/syslog.dated -type d -mtime +14 -exec rm -rf '{}' \; 40 13 * * * find /var/adm \( -name 'pacct*' \) -atime +7 -exec rm -rf {} \; 39 13 * * 1-6 /usr/bin/last >> /usr3/lastall 40 13 * * 1-6 /usr/sbin/acct/runacct 2 > /usr/adm/acct/nite/fd2log& 5 * * * * /usr/sbin/acct/ckpacct& 40 13 1 * * /usr/sbin/acct/monacct& 40 13 * * * /usr/sbin/ac -p /var/adm/acct/nite/timelog& When runacct starts it create an lock file. Should I remove this file toghether with lastdate file every day? If lock and lastdate files does not exist the content of statefile is SETUP. \\\___/// \\ - - // ( @ @ ) -----------------------------oOOo-(_)-oOOo-------------------------------- *Bubulac Angela Tatiana - National Institute for R&D of Materials Physics* * Bucuresti - Magurele P.O.B. MG-7 * * Romania * *e-mail: tatia@alpha1.infim.ro | phone :401-7805385 int.1380 * * root@alpha1.infim.ro | 401-7806925 * * | 401-7804573 * --------------------------------------Oooo-------------------------------- oooO ( ) ( ) ) / \ ( (_/ \_)