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.

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:
    6
    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.
     
  2. DeepakW

    DeepakW Active Member

    Joined:
    Nov 13, 2005
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    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:
    6
    Location:
    Poland
    heh i forgot, that my backup scripts rewrite this file ;)

    thnks for info.
     
Loading...

Share This Page