Reset trial users in hotspot

Hi,


I have a hotspot only with trial users. Can I reset, with a script, all users every 12 hours?

I need to give them 1 hour of trial access every 12 hours.


Thanks,

Why do you need to reset it with the script ?
Trial-uptime is used for set, to set 1 hour trial Internet access for 12 hours,

ip hotspot profile set <name> login-by=trial trial-uptime=1h/12h

As,

/ip hotspot profile>> set hsprof1 trial-uptime=
TrialUptime ::= Limit/Reset
  Limit -- time interval
  Reset -- time interval

LOL.

Perfect.


Thanks,

I Wanna do the same but not with uptime limit ,
I have an hotspot trials user as well but i’m giving only Limit Bytes & Not uptime , So what i want to do is reseting the Trials only everyday at 12am ,
I hope anyone can help me if i have to use script to reset or Anything ,
Thank you !