I checked in terminal and showing 12gb full but i uploaded only 200mb file only but now showing 12gb.
Please help how to solve this issue
I checked in terminal and showing 12gb full but i uploaded only 200mb file only but now showing 12gb.
Please help how to solve this issue
Welcome @franduff Happy you are here
Run the commands here and post screenshot after last command
cd /home
du -hs
run
du -s -h /home/*
seems 12gb is in used by home
Here not showing any folder or file of 12gb
Your website is 12gigs fxdisk.site . Check what is in that path /home/fxdisk.site. Do you have website files worth that size
no i have only 200mb file in that path
Have you checked that path ?
du -s -h /home/fxdisk.site/*
Post screenshot here
thanks i check according your command and found chunks folder where file contain
Post screenshot
any one give me a cron jobs to delete file from this path in every one hour
/home/fxdisk.site/public_html/Application/storage/app/chunks
Setup a bash script in /home/cyberpanel/public/ e.g.
fxdiskcleaner.sh
#!/usr/bin/env bash
# start delete any files older than 1 day
find /home/fxdisk.site/public_html/Application/storage/app/chunks -type f -mtime +1 -delete
Then run it like a cronjob : 7 - Cron Jobs
Notes:
If the app is laravel Help me with cronjob laravel cronjob on cyberpanel - #5 by usmannasir setup php artisan cache:clear
e.g.
cd /home/fxdisk.site/public_html && /usr/local/lsws/lshphp74/bin/php artisan cache:clear >> /dev/null 2>&1
setup a cronjob for a php file Setup a cronjob for a php file - #8 by josephgodwinke