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 does cPanel store Account Level Cron Jobs?

Discussion in 'General Discussion' started by aarondwyer, Dec 12, 2010.

  1. aarondwyer

    aarondwyer Well-Known Member

    Joined:
    Mar 26, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brisbane
    cPanel Access Level:
    Root Administrator
    Hi

    When someone creates a cronjob within a cPanel account.

    Where on the filesystem does that information get recorded?

    Is it under the users account in a files or in a more general area.

    Another question is if the user does a homedir backup using the backup tools within cPanel does it included the cronjobs into the backup.?

    Aaron
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    /var/spool/cron

    Yes. You'll find a directory called cron in your backup.
     
  3. aarondwyer

    aarondwyer Well-Known Member

    Joined:
    Mar 26, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brisbane
    cPanel Access Level:
    Root Administrator
    Thanks for that.

    Strange but my users account doesn't have a cron directory.

    /home/user/cron?

    There are cron jobs assigned in cPanel for a user account, but I can't see the file that holds this data inside the users account?

    Any ideas?

    Aaron
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    /var/spool/cron/username
     
  5. aarondwyer

    aarondwyer Well-Known Member

    Joined:
    Mar 26, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brisbane
    cPanel Access Level:
    Root Administrator
    Ah, thanks.

    I checked the homedir backup from the cPanel user account backup page.

    The cron info isn't in there. It's obvious that it's missing now, since /var/spool/cron is definately not in the /home directory space.

    That's ashame.

    Aaron
     
Loading...

Share This Page