|
-
Mar 8th, 2000, 02:43 AM
#1
Thread Starter
New Member
Hi All,
My program is using a simple access database file which updates (from the Internet) every week, My problem is that I don`t know to make the update accured every week. I built the FTP process which transfers the file, but i don`t how to make it to that every week.
Thank You Very Much For Your Time!
-
Mar 8th, 2000, 02:59 AM
#2
New Member
write another quick program, save the exe in your start menu folder so it loads at start up.
This quick program will simply checks the date when it first runs. If todays date (julian date) is divisable by 7 (mod 7) then run the FTP program, if not, then end.
example:
the orignal julian date is 32 (feb 1)
on feb 8 the julian date will be 39.
39-32 is 7, which is divisble by 7, so run the FTP program
feb 15 is 46.
46-32 is 14, which is divisble by 7, so run FTP program.
etc, etc,
hope that helps!
Matt Calderaro
Public Software
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|