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!

Running empty script in cpanel ?

Discussion in 'General Discussion' started by Grzeslaw, Sep 6, 2007.

  1. Grzeslaw

    Grzeslaw Well-Known Member

    Joined:
    Jul 11, 2006
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Poland
    Hi

    I have just looked, into crontabs on my servers, and I saw that, there is an entry with the following content:
    Code:
    0 3 * * *       /scripts/cpbackup
    
    But when I looked info the script, I don't saw anythink ?
    It;s empty:
    Code:
    -rwxr-xr-x  1 root root 0 Sep  6 01:00 /scripts/cpbackup*
    
    What does it mean, and what is it ?

    Regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. DeepakW

    DeepakW Active Member

    Joined:
    Nov 13, 2005
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    156
    Hello,

    The script cpbackup runs backups on the server, if it is empty you can confirm it by checking contains of the script

    # cat /scripts/cpbackup


    If it is empty you can copy it through different server having same cPanel version and confirm the permissions as follows :

    -rwxr-xr-x 1 root root 14252 Sep 4 00:10 /scripts/cpbackup*
     
  3. Grzeslaw

    Grzeslaw Well-Known Member

    Joined:
    Jul 11, 2006
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Poland
    heh i forgot, that my backup scripts rewrite this file ;)

    thnks for info.
     
    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