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

Okwunna Anyaeji

Registered
Mar 6, 2019
4
1
3
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
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,739
301
363
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
 
  • Like
Reactions: Okwunna Anyaeji

Okwunna Anyaeji

Registered
Mar 6, 2019
4
1
3
Dubai
cPanel Access Level
Website Owner
Please how to I use the "Find command"? I have tried to look for how to do it but couldn't, and my hosting company says they are busy and can't do that for me.

Please I need step by step guide on how to do it so I can handle it on my own. Thank you very much.
 

Okwunna Anyaeji

Registered
Mar 6, 2019
4
1
3
Dubai
cPanel Access Level
Website Owner
Oh... Thank you very much... I have now seen what you were talking about



I have contacted my host to enable it for me.... Thank you so much for your help... I really appreciate.
 
Last edited by a moderator:
  • Like
Reactions: cPanelLauren