Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Put form to sleep for a period of time
Message
De
02/08/2006 12:00:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01142402
Message ID:
01142451
Vues:
14
>Hi everybody,
>
>We have an application called Batch Service. This application has a form with a timer which fires in 10 minutes intervals. We want to put the application to sleep from Friday 7pm till Monday 6am. We put logic to not do anything in the timer event, but I'm thinking we should change the timer interval instead to put it into complete sleed and not waste resources.
>
>What do you think and is there a chance of having a problem if we change timer's interval?
>
>Thanks in advance.

with a 10 minutes interval the resources are irrelevant.

However, to change the timer interval should to be fine.

Another way is:
- implement a master Timer that stop-start others slave timers.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform