Re: question regarding removing files under /usr/spool/cron/atjobs

From: Chris Thompson (cet1_at_cus.cam.ac.uk)
Date: 04/27/03

  • Next message: Markku Ojala: "Re: Help required on the following..."
    Date: 27 Apr 2003 15:25:11 GMT
    
    

    In article <6tmin-ql6.ln1@don.localnet>,
    Bill Marcum <bmarcum@iglou.com> wrote:
    >On 22 Apr 2003 18:25:51 -0700, L
    > <traill2003@yahoo.com> wrote:
    >> I have a list of files (around 6,000) under /usr/spool/cron/atjobs
    >> shown under my user ID that I want to remove:
    >>
    >> /usr/spool/cron/atjobs> ls -iltr |grep lxu|head -10
    >> 1690588 -r-Sr--r-- 1 lxu dbrm 3286 Feb 18 14:47 _at24
    >> 1690587 -r-Sr--r-- 1 lxu dbrm 3286 Feb 18 14:47 _at12
    >> 1690593 -r-Sr--r-- 1 lxu dbrm 3286 Feb 18 14:47 _at79
    >How/why did you create all these? It's possible that their names contain
    >hidden characters, so try using wildcards to list or delete them.
    >Maybe the "at -r" command requires job numbers instead of file names.
    >Try listing the "at" jobs with "atq" or "at -l".

    If this is Solaris, then the _at* names are those used by at(1) while
    creating the file, before renaming it as, e.g. 1051520400.a, for
    processing by the cron daemon. They only stick around if an at(1)
    process dies uncleanly.

    Chris Thompson
    Email: cet1 [at] cam.ac.uk


  • Next message: Markku Ojala: "Re: Help required on the following..."
  • Quantcast