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!

Cronjob created so many files that can't be easily deleted

Discussion in 'Database Discussion' started by Okwunna Anyaeji, Mar 6, 2019.

  1. Okwunna Anyaeji

    Okwunna Anyaeji Registered

    Joined:
    Mar 6, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Website Owner
    Dear sir
    I have my file manager filled with autocreated cronjob files of upto millions and I can't delete them because no computer have been able to load them so it can be deleted.
    Please I want to know if there is a way to make the file manager home of the Cpanel to load in batches of 1-100, 101-500, 501-1000 etc so it could be easier for me to access the bulky files and delete them to free my system memory. Or is there any automatic way of deleting these files.

    Pls I really need to clear it. Thank you very much. 20190307_075529.jpg
     
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,352
    Likes Received:
    146
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Do you have shell access? That would be the easiest/fastest way to delete them. You'll need to use the find command.

    find ./ -name "startofname*" -delete

    Otherwise you can ask your host to do this for you.

    And I would change your cronjob. I'm guessing you are using wget which sames the file. Would start like this

    wget -O /dev/null -o /dev/null
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Okwunna Anyaeji likes this.
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,728
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    There isn't a way to have the file manager load as you're requesting and the suggestion by @GOT would be the best solution to remove these.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Okwunna Anyaeji likes this.
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