Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
6
Erster Beitrag:
vor 1 Woche, 2 Tagen
Letzter Beitrag:
vor 1 Woche, 2 Tagen
Beteiligte Autoren:
JP, Tor-Bjarne

[WD21] - Timer suggestions

Startbeitrag von JP am 11.07.2017 07:29

Hi All

Looking for a best practice suggestion. I want to build some sort of timer/scheduler into my app so that it will auto-exit at a certain time of the day e.g. 1am. This is to force all users who are logged in but left their desks to be auto logged off. Any suggestions for this simple thing?

TIA

Antworten:

Hi JP,

My free groupware class do this, but after n minutes of inactivity. But you can easily change the behavior if you like (or copy some blocks of code).

Look for the post Groupware made for you

cheers
Tor-Bjarne

von Tor-Bjarne - am 11.07.2017 08:01
Thanks Tor-Bjarne. I have just found the TIMER() function in WinDev help which is perfect for what I need. I can just call that every 10 minutes or so.

Thanks

von JP - am 11.07.2017 08:12
Even better / simpler - now just using an automatic procedure built into WinDev :)

von JP - am 11.07.2017 08:21
Hi,

Yes - they are cool :) but I recon you don`t want to force a user to log on again if he/she have been working and are active the whole time?

cheers
Tor-Bjarne

von Tor-Bjarne - am 11.07.2017 08:44
Tor-Bjarne,

I'm logging users off but only (a) when running under terminal services mode, and (b) between 1am and 2am in the morning so that other things can be done on the servers (e.g. reboots, patching, etc.). Plus our system automatically saves all windows, configurations, settings, preferences, on exit so user can instantly restart as he left it.

Thanks

von JP - am 11.07.2017 09:30
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.