DOWNLOAD Clear All Xtream UI Logs With Just 1 Script And One Click .

touz3

Well-known member
Joined
Jun 22, 2021
Messages
26
Awards
4
Offline
Hi,
This script can clear/truncate all xtream ui logs.

Download & Installation :

1- Download clean.sh from url
2- Open clean.sh with any notpad/notepad++ program
3- Search and Replace "REPLACE WITH YOUR PASSWORD" with your xtream_iptvpro msql password.
4- upload it to /home/xtreamcodes/iptv_xtream_codes/
5- chmod 775 /home/xtreamcodes/iptv_xtream_codes/clean.sh (from command line)
6- Run the script with this command: bash +x /home/xtreamcodes/iptv_xtream_codes/clean.sh

Done!

This script clear these tables and files:

client_logs
login_logs
mag_logs
panel_logs
reg_userlog
suspicious_logs
credits_log
server_activity
login_flood
user_activity
user_activity_now
stream_logs
error.log
php-fpm.log

Also you can run it on crontab for example every 12h.
For run it every 12h use these commands:

1- nano /etc/crontab (from command line)
2- add this line to crontab: 0 */12 * * * root sh /home/xtreamcodes/iptv_xtream_codes/clean.sh> /dev/null 2>&1
3- Press CRTL X and then press Y to save it.

Thats All.

Thanks for your time bruuh .
 
Last edited:

goransoft

New member
Joined
Jun 9, 2022
Messages
2
Offline
Hi,
This script can clear/truncate all xtream ui logs.

Download & Installation :
*** Hidden text: cannot be quoted. ***


1- Download clean.sh from url
2- Open clean.sh with any notpad/notepad++ program
3- Search and Replace "REPLACE WITH YOUR PASSWORD" with your xtream_iptvpro msql password.
4- upload it to /home/xtreamcodes/iptv_xtream_codes/
5- chmod 775 /home/xtreamcodes/iptv_xtream_codes/clean.sh (from command line)
6- Run the script with this command: bash +x /home/xtreamcodes/iptv_xtream_codes/clean.sh

Done!

This script clear these tables and files:

client_logs
login_logs
mag_logs
panel_logs
reg_userlog
suspicious_logs
credits_log
server_activity
login_flood
user_activity
user_activity_now
stream_logs
error.log
php-fpm.log

Also you can run it on crontab for example every 12h.
For run it every 12h use these commands:

1- nano /etc/crontab (from command line)
2- add this line to crontab: 0 */12 * * * root sh /home/xtreamcodes/iptv_xtream_codes/clean.sh> /dev/null 2>&1
3- Press CRTL X and then press Y to save it.

Thats All.

Thanks for your time bruuh .
wow
 

efkarbey

New member
Joined
Jul 14, 2021
Messages
4
Awards
1
Offline
Hi,
This script can clear/truncate all xtream ui logs.

Download & Installation :
*** Hidden text: cannot be quoted. ***


1- Download clean.sh from url
2- Open clean.sh with any notpad/notepad++ program
3- Search and Replace "REPLACE WITH YOUR PASSWORD" with your xtream_iptvpro msql password.
4- upload it to /home/xtreamcodes/iptv_xtream_codes/
5- chmod 775 /home/xtreamcodes/iptv_xtream_codes/clean.sh (from command line)
6- Run the script with this command: bash +x /home/xtreamcodes/iptv_xtream_codes/clean.sh

Done!

This script clear these tables and files:

client_logs
login_logs
mag_logs
panel_logs
reg_userlog
suspicious_logs
credits_log
server_activity
login_flood
user_activity
user_activity_now
stream_logs
error.log
php-fpm.log

Also you can run it on crontab for example every 12h.
For run it every 12h use these commands:

1- nano /etc/crontab (from command line)
2- add this line to crontab: 0 */12 * * * root sh /home/xtreamcodes/iptv_xtream_codes/clean.sh> /dev/null 2>&1
3- Press CRTL X and then press Y to save it.

Thats All.

Thanks for your time bruuh .
THANK YOU
 
Top