Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Clock not equal to OS System Clock
Message
De
19/01/2003 12:34:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
16/01/2003 10:54:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00742411
Message ID:
00743268
Vues:
22
>How does the VFP System Clock get updated?
>
>I have an app that uses timers to trigger night jobs.
>I don't keep track of time using the timer, I just fire a
>timer method every 10 minutes, compare TIME() with the run
>times on a list of jobs (in a job list table), then run
>one whose Job Time < TIME().

Perhaps you are having trouble with the fact that the return value of time() is a character expression?

Or perhaps your program stopped reacting for some reason.

I scheduled jobs for late at night with the Windows Task Scheduler. This one has a lot of options, and I think it is not worthwhile to "reinvent the wheel" by writing a VFP program.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform