Results 1 to 2 of 2

Thread: Date Storing + Updates

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    Zichron Yaacov, Israel
    Posts
    3

    Post

    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!

    Best Regrads,
    Omri Ariav
    ICQ: 8006935
    [email protected]
    http://www.planes.co.il

  2. #2
    New Member
    Join Date
    Mar 2000
    Location
    venice, fl 34285
    Posts
    8

    Post

    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
  •  



Click Here to Expand Forum to Full Width