Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Srvany and VFP timer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00447537
Message ID:
00447547
Vues:
7
>>I have created an application that uses a timer to fire off every so often and check for the existence of a file. If it is found it does some processing. The screen is not visible and everything is done in the background. This works fine from the command line or as a standalone exe.
>>
>>I set this up as an NT service using srvany. Everything is set up and working. My problem is it looks like the timer only fires the first time and then never again. I tested this by placing ! /n net send me Timer Fired in the Timer Event. I get the message on the first firing but never get another message.
>>
>>The service is set up to run under my account because I need access to the network services.
>>
>>Has anyone run into this before? I would assume this is a fairly common scenario.
>>
>>TIA,
>>George
George, what is your timer interval, do you clear it in the Timer event, and remember to re-set it on completion? I know these are "fool" level of questions - but what the heck ;-)


Houston, not 'fool' level at all :)

The interval right now is 30 seconds (15000 ms) for testing. No, I don't clear it in the timer event. Do I need to do that?
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform