The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where are users cronjob stored?

Discussion in 'General Discussion' started by BeerUser, May 22, 2004.

  1. BeerUser

    BeerUser Active Member

    Joined:
    Apr 16, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Hey all,

    Can someone tell me where cronjobs are stored, users one of couse.

    Isnt it /var/spool/cron? I notice my dayly email notice of system logs says 2 new crons. I want to know which user has 2 new crons and what they do.

    Thanks, much appreciated.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's where they are stored for user crontabs. Root can have cron jobs in that location and in:
    /etc/crontab
    /etc/cron.d/
     
  3. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    crontab -u USER -l

    will show you what is inside the user's crontab. Replace USER with the actuall username, of course.
     
Loading...

Share This Page