View previous topic :: View next topic |
Author |
Message |
gokuss4
Joined: 09 Sep 2010 Posts: 5
|
Posted: Thu Sep 09, 2010 5:27 pm Post subject: Use Internet connection two hours per day |
|
|
Good morning. I wanted to know if it was possible to allow a user to access the internet only two hours a day ... expired two hours you do not log more Internet (Of course, two hours can be consumed as desired, eg 15 minutes then I get disconnected .... later I connect again, and so on ..)
The next day, two hours are restored automatically ... so for every day of the week ...
I look forward to hearing from you ....
One other thing: the program is only available in English or other languages are also available such as Italian?
Thanks to all |
|
Back to top |
|
|
gokuss4
Joined: 09 Sep 2010 Posts: 5
|
Posted: Fri Sep 10, 2010 7:02 am Post subject: |
|
|
Or not possible through a file . bat may reactivate a suspended account and change the remaining time? I look forward to hearing from you. Thanks |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Fri Sep 10, 2010 8:29 am Post subject: |
|
|
You need to run FirstSpot API call midnight everyday to update the user attribute "timeleft". The syntax is like:
fsapi.exe update_usr_attributes username=* timeleft=120
Refer to chapter 10 of firstspot_guide.pdf for details. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
gokuss4
Joined: 09 Sep 2010 Posts: 5
|
Posted: Fri Sep 10, 2010 8:57 am Post subject: |
|
|
I read the manual but I did not understand much. Could you explain in detail the steps to be done? The result then is a .bat file? Thanks |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Fri Sep 10, 2010 9:02 am Post subject: |
|
|
Basically, the above API command will reset all your users timeleft (i.e. access minutes) attributes to 120 minutes (2 hours). Just put the above command Windows Task Scheduler and run it at 12am midnight everyday. Note that you don't need use .bat file and can run the command directly. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
gokuss4
Joined: 09 Sep 2010 Posts: 5
|
Posted: Fri Sep 10, 2010 9:13 am Post subject: |
|
|
Firstspot I bought some 'years ago ... Also works with version 5? Also works with version 5? how do I enter the command in windows scheduler? Thanks |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Fri Sep 10, 2010 9:20 am Post subject: |
|
|
Well, FirstSpot API is only available in the current v6. To purchase an upgrade, please visit http://patronsoft.com/firstspot/buy_now_2.html for more information. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
gokuss4
Joined: 09 Sep 2010 Posts: 5
|
Posted: Fri Sep 10, 2010 9:24 am Post subject: |
|
|
but you can not find another solution without APIs?? |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Fri Sep 10, 2010 9:45 am Post subject: |
|
|
You need API to do that. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
|