Hi all,
I've got a background process that takes data from VFP tables and stores them in SQL- tables. It's been working great except for the fact that the sql-servers are taken offline during the night which causes connectivty errors. I've trapped for the error (1526) but I want to issue some type of a pause for about 20 minutes or so to allow time for them to come back online. I thought about using a wait command with a timeout of about 1200 seconds but not sure if it is the best way or if someone has a better idea.
Thanks
Hal
I've got a background process that takes data from VFP tables and stores them in SQL- tables. It's been working great except for the fact that the sql-servers are taken offline during the night which causes connectivty errors. I've trapped for the error (1526) but I want to issue some type of a pause for about 20 minutes or so to allow time for them to come back online. I thought about using a wait command with a timeout of about 1200 seconds but not sure if it is the best way or if someone has a better idea.
Thanks
Hal