Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Clock not equal to OS System Clock
Message
From
20/01/2003 09:07:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
20/01/2003 09:00:15
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00742411
Message ID:
00743443
Views:
17
>>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.
>
>The reason I'm doing this in VFP is:

I think your arguments make a lot of sense. My own scheduling is less demanding, but you definitely have more control over some details if you program it yourself - and in your case, you seem to need it.

I still think time() is not the most appropriate function to use, but mainly because it returns a string, not a datetime value.

In a previous reply, I gave you some suggestions, mainly for debugging purposes.

One interesting way to get the time - either from your local machine or from the server - is to create a file on the disk (perhaps with LLFF), and check its creation date/time.

I assume there are also API functions that can return the system time. But, the built-in time functions should work correctly, and I don't know exactly what is going awry.

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