Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Clock not equal to OS System Clock
Message
From
19/01/2003 12:34:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/01/2003 10:54:41
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00742411
Message ID:
00743268
Views:
21
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform