Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    /var/spool/cron

    Yes. You'll find a directory called cron in your backup.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. aarondwyer

    aarondwyer Well-Known Member

    Joined:
    Mar 26, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    156
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    /var/spool/cron/username
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. aarondwyer

    aarondwyer Well-Known Member

    Joined:
    Mar 26, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    156
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice