服务器上的Kickstart脚本? [英] Kickstart script on server?

查看:76
本文介绍了服务器上的Kickstart脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


我有一个邮件给我的客户邮寄的页面超时......我需要某种方式

来存储它.vbs,然后从我的asp页面启动它,这样就可以在

背景中运行。


你们可以给我看一些关于如何使用的代码去做?我没有

visual-studio或类似的东西,所以它必须是简单的。没有任何

额外的com +编程或类似的东西。


TIA

/ Lasse

解决方案

这个怎么样。在Windows中有一个计划任务,每五分钟检查一次数据库

。如果标志为1,则运行VBS脚本并将标志

设置为0.


然后,您可以通过点击连接的ASP页面来启动它到同一个

数据库并将标志设置为1.


-

Aaron Bertrand

SQL Server MVP
http://www.aspfaq.com/



" Lasse Edsvik" < LA *** @ nospam.com>在消息中写道

新闻:OV ************** @ TK2MSFTNGP12.phx.gbl ...

你好

我有一个邮件给我的客户邮件,它超时......我需要一些
的方式将它存储为.vbs并从我的asp页面启动它所以它会'在
背景中运行。

你们能告诉我一些关于如何做的代码吗?我没有视觉工作室或类似的东西所以它必须是简单的。没有任何额外的com +编程或类似的东西。

TIA
/ Lasse



< blockquote> Aaron,


是否可以将参数发送到vbs脚本?

" Aaron Bertrand - MVP" < AA *** @ TRASHaspfaq.com>在消息中写道

新闻:关于************** @ TK2MSFTNGP09.phx.gbl ...

这个怎么样。在Windows中有一个计划任务,每五分钟检查一次数据库。如果标志显示为1,则运行VBS脚本并将标志
设置为0.

然后,您可以通过点击连接到
相同数据库的ASP页面来启动它并将标志设置为1.

-
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/

" Lasse Edsvik" < LA *** @ nospam.com>在消息中写道
新闻:OV ************** @ TK2MSFTNGP12.phx.gbl ...

你好

我有一个页面,邮寄我的客户,它超时......我需要一些


方式

将它存储为.vbs并从我的kickstart asp-page所以它会在后台运行


你们能告诉我一些关于如何做的代码吗?我没有视觉工作室或类似的东西所以它必须是简单的。没有
任何额外的com +编程或类似的东西。

TIA
/ Lasse




是的,请查看msdn.microsoft.com上的WScript文档。当你切换标志时,你还可以将这些参数存储在数据库中......

这样你就可以记录上次使用哪些参数了/>
VBS脚本被调用。


-

Aaron Bertrand

SQL Server MVP
http://www.aspfaq.com/



" Lasse Edsvik" < LA *** @ nospam.com>在消息中写道

新闻:Oc ************* @ TK2MSFTNGP09.phx.gbl ...

Aaron,

是否可以将参数发送到vbs脚本?

" Aaron Bertrand - MVP" < AA *** @ TRASHaspfaq.com>在消息中写道
新闻:关于************** @ TK2MSFTNGP09.phx.gbl ...

这个怎么样。在Windows中有一个计划任务,每五分钟检查
数据库

。如果标志为1,则运行VBS脚本并将
标志设置为0.

然后,您可以通过点击连接到同一

数据库并将标志设置为1.

- Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/

" Lasse Edsvik" < LA *** @ nospam.com>在消息中写道
新闻:OV ************** @ TK2MSFTNGP12.phx.gbl ...

你好

我有一个页面邮寄我的客户,它超时......我需要


某种方式

将它存储为.vbs并从我的启动它asp-page所以它'



在后台运行。

你们可以给我看一些如何的代码去做?我没有视觉工作室或类似的东西所以它必须是简单的。没有任何额外的com +编程或类似的东西。

TIA
/ Lasse





Hello

I have a page that mails my customers and it times out...... I need some way
to store it as .vbs and just kickstart it from my asp-page so it''ll run in
background.

could you guys show me some code on how to do that? I dont have
visual-studio or anything like that so it''s got to be "simple" without any
additional com+ programming or anything like that.

TIA
/Lasse

解决方案

How about this. Have a scheduled task in windows, that checks a database
every five minutes. If a flag says 1, run the VBS script and set the flag
to 0.

Then, you can kickstart it by hitting an ASP page that connects to the same
database and sets the flag to 1.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Lasse Edsvik" <la***@nospam.com> wrote in message
news:OV**************@TK2MSFTNGP12.phx.gbl...

Hello

I have a page that mails my customers and it times out...... I need some way to store it as .vbs and just kickstart it from my asp-page so it''ll run in
background.

could you guys show me some code on how to do that? I dont have
visual-studio or anything like that so it''s got to be "simple" without any
additional com+ programming or anything like that.

TIA
/Lasse



Aaron,

is it possible to send parameters to a vbs script?
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:On**************@TK2MSFTNGP09.phx.gbl...

How about this. Have a scheduled task in windows, that checks a database
every five minutes. If a flag says 1, run the VBS script and set the flag
to 0.

Then, you can kickstart it by hitting an ASP page that connects to the same database and sets the flag to 1.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Lasse Edsvik" <la***@nospam.com> wrote in message
news:OV**************@TK2MSFTNGP12.phx.gbl...

Hello

I have a page that mails my customers and it times out...... I need some


way

to store it as .vbs and just kickstart it from my asp-page so it''ll run in background.

could you guys show me some code on how to do that? I dont have
visual-studio or anything like that so it''s got to be "simple" without any additional com+ programming or anything like that.

TIA
/Lasse




Yes, have a look at the WScript documentation at msdn.microsoft.com. You
can also store such parameters in the database when you switch the flag...
that way you have a record of which parameters were used the last time the
VBS script was called.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Lasse Edsvik" <la***@nospam.com> wrote in message
news:Oc*************@TK2MSFTNGP09.phx.gbl...

Aaron,

is it possible to send parameters to a vbs script?
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:On**************@TK2MSFTNGP09.phx.gbl...

How about this. Have a scheduled task in windows, that checks a database

every five minutes. If a flag says 1, run the VBS script and set the flag to 0.

Then, you can kickstart it by hitting an ASP page that connects to the same

database and sets the flag to 1.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Lasse Edsvik" <la***@nospam.com> wrote in message
news:OV**************@TK2MSFTNGP12.phx.gbl...

Hello

I have a page that mails my customers and it times out...... I need

some way

to store it as .vbs and just kickstart it from my asp-page so it''ll


run in background.

could you guys show me some code on how to do that? I dont have
visual-studio or anything like that so it''s got to be "simple" without any additional com+ programming or anything like that.

TIA
/Lasse





这篇关于服务器上的Kickstart脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆