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

From: L (traill2003@yahoo.com)
Date: 04/23/03

  • Next message: Valentin Nechayev: "Re: /bin/ksh not found"
    From: traill2003@yahoo.com (L)
    Date: 22 Apr 2003 18:25:51 -0700
    
    

    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
       1690592 -r-Sr--r-- 1 lxu dbrm 3286 Feb 18 14:47 _at68
       1690591 -r-Sr--r-- 1 lxu dbrm 3286 Feb 18 14:47 _at57
       1690590 -r-Sr--r-- 1 lxu dbrm 3286 Feb 18 14:47 _at46
       1690598 -r-Sr--r-- 1 lxu dbrm 3286 Feb 18 14:47
    _at135
       1690597 -r-Sr--r-- 1 lxu dbrm 3286 Feb 18 14:47
    _at124
       1690596 -r-Sr--r-- 1 lxu dbrm 3286 Feb 18 14:47
    _at113
       1690595 -r-Sr--r-- 1 lxu dbrm 3286 Feb 18 14:47
    _at102

    However, when I use "vi" to open these files, it indicates that the
    file I am trying to open is a "new file" and the content, of course,
    is empty.

    When I try to remove these job entries by at -r, the following happens

    /usr/spool/cron/atjobs> at -r _at24
    at: _at24: No such file or directory

    I am so puzzled by the situation.

    Because the /usr/spool/cron/atjobs is owned by root, and I do not have
    write access to the directory, I cannot remove these files underneath
    the directory with rm command even though they belong to me.

    Lots of thanks!
    L


  • Next message: Valentin Nechayev: "Re: /bin/ksh not found"

    Relevant Pages

    • question regarding removing files under /usr/spool/cron/atjobs
      ... at: _at24: No such file or directory ... I cannot remove these files underneath ... the directory with rm command even though they belong to me. ...
      (comp.unix.shell)
    • Re: Strange behavior in combo field data
      ... The field name is present in the Cpontrol Source. ... command to Current in Form then it only displays the first value in the ... value does not belong to the last created list ... this is done via the form's OnCurrent event. ...
      (comp.databases.ms-access)
    • Re: Filter Members of specific distribution group
      ... who belong to specific distribution groups? ... (Using your exact syntax, copied and pasted to ... command line). ...
      (microsoft.public.win2000.active_directory)
    • Re: Restart a stand alone machine remotely
      ... Janani [MSFT] ... "This posting is provided "AS IS" with no warranties, ... How can I restart remotely a machine that do not belong to the domain. ... I tried the shutdown command but it says access denied. ...
      (microsoft.public.windows.server.networking)