Sponsored Content
The Lounge What is on Your Mind? Purge of Inactive Users with Zero Posts and Other Anti-spam Measures Post 303023536 by Neo on Wednesday 19th of September 2018 03:17:12 AM
Old 09-19-2018
And on top of that, just deleted all "homepage" links from profile pages of member who have not been active on the site since 1 Sept 2017 (over a year ago) regardless of the number of posts they had:

Code:
mysql> update user set homepage=''  where homepage!=''  and lastactivity < 1504224000;
Query OK, 6337 rows affected (0.24 sec)
Rows matched: 6337  Changed: 6337  Warnings: 0

 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to logout inactive users????

I would like to automatically logout from the system inactive users depending on their functions. For example there are users that I would like to logout after 15 minutes of inactivity, but there are others that I would like to logout after 30 minutes of inactivity. It's possible to do this??? (6 Replies)
Discussion started by: rrivas
6 Replies

2. UNIX for Dummies Questions & Answers

List all inactive users who has not logged on since last 90 days

Hi, Can I get a script to list out all the users, who has not logged on since last 90 days. Last command in not working due due to /var/adm/wtmpx is more than 2 GB. Thanks in advance. Regards, Roni (10 Replies)
Discussion started by: manasranjanpand
10 Replies

3. Solaris

List all inactive users who has not logged on since last 90 days

I need actuall script which List all inactive users who has not logged on since last 90 days Thanks in advance. Di! (17 Replies)
Discussion started by: haridham
17 Replies

4. Shell Programming and Scripting

Deleting Inactive Solaris users

Hello, I want to do a search for users on my solaris boxes that have been inactive for a defined number of days and then delete them. Any ideas how to determine or calculate the number of days (possibly using the /var/adm/wtmpx file) from the user's last login to the current date of search. ... (0 Replies)
Discussion started by: prince2010
0 Replies
UPDATE-FLASHPLUGIN-NONFREE(8)				      System Manager's Manual				     UPDATE-FLASHPLUGIN-NONFREE(8)

NAME
update-flashplugin-nonfree - program to get the newest Adobe Flash Player SYNOPSIS
update-flashplugin-nonfree --install update-flashplugin-nonfree --uninstall DESCRIPTION
The program update-flashplugin-nonfree takes care of downloading last minute information from Debian about suitable versions, removing the installed Adobe Flash Plugin if it has been reported as insecure, or, if a newer suitable version is available, downloading a newer Adobe Flash Player and its installer from the Adobe download site, run the downloaded installer to install the Adobe Flash Player on the local system, and then move the installed files to where they fit on a Debian system. A copy of the downloaded .tar.gz is saved in /var/cache/flashplugin-nonfree for later reuse. The program update-flashplugin-nonfree is used in the postinst and prerm scripts of the Debian package, but this program can also be run manually by root. OPTIONS
--install To install, update or remove the Adobe Flash Player depending on downloaded last minute information from Debian about suitable ver- sions. --uninstall To remove the Adobe Flash Player. --verbose Produce detailed information about what's happening. --quiet Produce no informational output. SEE ALSO
http://wiki.debian.org/FlashPlayer If you subscribe to this wiki page, then you will receive updates via e-mail. http://www.adobe.com/ The Adobe homepage. August 15, 2007 UPDATE-FLASHPLUGIN-NONFREE(8)
All times are GMT -4. The time now is 04:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy