Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

[How TO] Delete user_activity records automatically (but keep some for viewing)

baycon792

Extended Member
Ext. Member
Joined
Oct 23, 2019
Messages
15
Reaction score
348
Points
59
Location
Austria
Hi guys,

This is a python script which will delete user_activity records that is older than XX hours by chunks of XXXX records at a time (to prevent mysql from hanging).

Instructions:


Download script:
 
Last edited:
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top