L
Lord Merlin
Hi there
Can someone please tell me how to run a script in the background? I have a
stored procedure, which gathers a lot of info on various tables in a MSSQL ,
and from that rebulds a large table. I run this stored procedure like so:
Response.write "Updating CWC Page .... wait until you see <b>Finished!</b>"
dbconnection.CommandTimeout = 0
DBConnection.Execute("proc_updatecwc")
Response.write "<bR><BR>Finished!<BR><BR>"
The problem is, this script takes about 3 minutes to complete, and then I
can't do other stuff on the site. This script needs to be run at regular
intervals, whenever new company information is added. Now, I want to be able
to add the new info, and let the script run in the background, without
waiting for the outcome / output. Can this be done?
--
Kind Regards
Rudi Ahlers
+27 (82) 926 1689
Greater love has no one than this, that he lay down his life for his friends
(John 15:13).
Can someone please tell me how to run a script in the background? I have a
stored procedure, which gathers a lot of info on various tables in a MSSQL ,
and from that rebulds a large table. I run this stored procedure like so:
Response.write "Updating CWC Page .... wait until you see <b>Finished!</b>"
dbconnection.CommandTimeout = 0
DBConnection.Execute("proc_updatecwc")
Response.write "<bR><BR>Finished!<BR><BR>"
The problem is, this script takes about 3 minutes to complete, and then I
can't do other stuff on the site. This script needs to be run at regular
intervals, whenever new company information is added. Now, I want to be able
to add the new info, and let the script run in the background, without
waiting for the outcome / output. Can this be done?
--
Kind Regards
Rudi Ahlers
+27 (82) 926 1689
Greater love has no one than this, that he lay down his life for his friends
(John 15:13).