delete expired user automatically

Discussion in 'Troubleshooting' started by adariat, May 13, 2014.

  1. adariat

    adariat Member

    Joined:
    Mar 28, 2014
    Messages:
    30
    Is there a way to write a cron job that runs daily to find expired users with products (6 and 9) and then deletes these users from the system.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
  3. adariat

    adariat Member

    Joined:
    Mar 28, 2014
    Messages:
    30
    This is great information. Thanks. Knowing the hooks and events available helps. But I'm not skilled enough to write the function. Can you provide a bit more direction based on my requirements?
    I need an event that runs daily to find users with expired products (4 and 6) and then deletes these users from the system ONLY if they do not have another active product.
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Contact us in helpdesk we will help with such customization.

Share This Page