disabling users after x days

hi all
i want to disable my hotspot user xxx after d days of his first log in
can i send him a message that he is disabled??

No, or is enabled, and you can display anything to client,
or if disabled the user can not see anything.

sorry but what about the first quistion
how to automatically disable user xxx after d day??
and thanks cuz you r always the first

The users are inside hotspot/users or inside user-manager package?

I have some hint, but no solution ready.

  1. Run script on scheduled base than write in a comment the first date and time the user log in, if comment are empty. This maintain the info also on reboot!!!
  2. Another script check, on scheduled time, if the date and time in user comment plus desired time (like 4 days) are bigger than actual time, then disable user.

I hope you like my hint.

they r in hotspot/user , would you please make your hint more clear (by scripts)
i made a way and don’t know if it’s good or not, " i made a 7 profile (sat,sun…) when user make subscribe i give him a profile according to this day, and then there is a sched every next sat it will disable all users of sat profile and so on"
i guess it’s not that good but good enough for now