[HELP] Delete Inactive Accounts

Results 1 to 6 of 6
  1. #1
    Newbie teddydoido is offline
    MemberRank
    Sep 2009 Join Date
    Sumaré, BrazilLocation
    11Posts

    ! [HELP] Delete Inactive Accounts

    Hello, ragezone Friends.

    I need a query / function to delete inactive accounts from database like 60 days offline.
    if are possible ?


  2. #2
    Grand Master Oosmar02 is offline
    Grand MasterRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [HELP] Delete Inactive Accounts

    Yes juste look lastgame is account and create querry

  3. #3
    Newbie teddydoido is offline
    MemberRank
    Sep 2009 Join Date
    Sumaré, BrazilLocation
    11Posts

    Re: [HELP] Delete Inactive Accounts

    Quote Originally Posted by Oosmar02 View Post
    Yes juste look lastgame is account and create querry
    ? i do not understand what u say

  4. #4
    Grand Master Oosmar02 is offline
    Grand MasterRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [HELP] Delete Inactive Accounts


  5. #5
    Elite Member erickstyle is offline
    Member +Rank
    Sep 2008 Join Date
    Santo André, BLocation
    104Posts

    Re: [HELP] Delete Inactive Accounts

    use this to example and make a function

    https://forum.ragezone.com/f82/scrip...ccount-634866/

  6. #6
    Newbie arczyx is offline
    MemberRank
    Jul 2014 Join Date
    BrazilLocation
    21Posts

    Re: [HELP] Delete Inactive Accounts

    It's like Oosmar2 said, create a query that gather the info from lastlogindate and calculate how much time has passed and delete them if it exceeds 30 days. See? The project is done, just code it.



Advertisement