有问题请加入技术Q群: 36085817(DELPHI朋友)
 

时 间 记 忆
最 新 评 论
专 题 分 类
最 新 日 志
最 新 留 言
搜 索
用 户 登 录
友 情 连 接
博 客 信 息


 
VBS定时重启 tomcat
[ 2007-9-6 12:07:00 | By: roki ]
 
---------------------------

 on   error   resume   Next    
   
  Dim   a    
  a   =   True    
   
  set   WshShell   =   WScript.CreateObject("WScript.Shell")    
   
  Do   While   a    
   
  WshShell.Run("net   stop   tomcat5")    
  WScript.Sleep(10000)    
  WshShell.Run("net   start   tomcat5")    
  WScript.Sleep(1000*60*60*24*3)    
  loop   
   
----------------------------------


 
有问题请 加入 技术Q群 :36085817(DELPHI朋友)

发表评论:

    大名:
    密码:
    主页:
    标题:
Powered by Oblog.