Click here to Skip to main content
15,904,351 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: NVIDIA GPU temperature - VB.NET Pin
Luc Pattyn20-Oct-11 4:03
sitebuilderLuc Pattyn20-Oct-11 4:03 
GeneralRe: NVIDIA GPU temperature - VB.NET Pin
Member 807887020-Oct-11 5:31
Member 807887020-Oct-11 5:31 
AnswerRe: NVIDIA GPU temperature - VB.NET Pin
Luc Pattyn20-Oct-11 7:07
sitebuilderLuc Pattyn20-Oct-11 7:07 
GeneralRe: NVIDIA GPU temperature - VB.NET Pin
Member 807887020-Oct-11 12:26
Member 807887020-Oct-11 12:26 
AnswerRe: NVIDIA GPU temperature - VB.NET Pin
Luc Pattyn20-Oct-11 12:51
sitebuilderLuc Pattyn20-Oct-11 12:51 
GeneralRe: NVIDIA GPU temperature - VB.NET Pin
Member 807887020-Oct-11 13:07
Member 807887020-Oct-11 13:07 
GeneralRe: NVIDIA GPU temperature - VB.NET Pin
Luc Pattyn20-Oct-11 13:35
sitebuilderLuc Pattyn20-Oct-11 13:35 
QuestionIIS 7 Recycle Schedule Settings via WMI Pin
Mr.EoniX18-Oct-11 23:41
Mr.EoniX18-Oct-11 23:41 
IIS 7 Recycle Schedule Settings via WMI

Hi folks,

Im sitting here with a tricky VBScript question, specifically a need to set a IIS7 App Pool recycle schedule via VMI.

Currently this is in place - letting me set a specific time interval for an IIS7 App Pool, but this is not our strategy going forward, so i must enable a specific time of day where we recycle the Pool.

Set objPeriodicRestart = objWMIService.Get("PeriodicRestartSettings").SpawnInstance_
objPeriodicRestart.PrivateMemory = iMemory
'objPeriodicRestart.Schedule =
objPeriodicRestart.Time = ConvertSecondsToWMIDateTimeValue(iRecycleWorkerProcesses)

'*** Set Application Pool Recycling settings
Set objRecycling = objWMIService.Get("RecyclingSettings").SpawnInstance_
'objRecycling.DisallowOverlappingRotation = Null
'objRecycling.DisallowRotationOnConfigChange = Null
'objRecycling.LogEventOnRecycle = Null
objRecycling.PeriodicRestart = objPeriodicRestart

etc. etc.

This works perfectly for a time interval, but as you can see the "Schedule" is outcommented. I've tried to set the schedule with the IIS6 approach which accepts an array of strings defining the times of day to recycle. But with NO luck.

Can any of you define what code is needed (objects, classes) to define a schedule that the IIS7 WMI accepts.

Really hope to find some help here.

Best regards,

//EoniX
QuestionHow VB2008 set excel sheet header block (not sorting with its column)? Pin
Curious 200916-Oct-11 7:38
Curious 200916-Oct-11 7:38 
QuestionInternet transfer control Pin
Magesa15-Oct-11 4:33
Magesa15-Oct-11 4:33 
AnswerRe: Internet transfer control Pin
Dave Kreskowiak15-Oct-11 8:09
mveDave Kreskowiak15-Oct-11 8:09 
JokeRe: Internet transfer control Pin
Bernhard Hiller16-Oct-11 21:15
Bernhard Hiller16-Oct-11 21:15 
GeneralRe: Internet transfer control Pin
JR21216-Oct-11 22:34
JR21216-Oct-11 22:34 
GeneralRe: Internet transfer control Pin
Magesa17-Oct-11 3:41
Magesa17-Oct-11 3:41 
GeneralRe: Internet transfer control Pin
JR21217-Oct-11 18:33
JR21217-Oct-11 18:33 
GeneralRe: Internet transfer control Pin
Dave Kreskowiak17-Oct-11 1:49
mveDave Kreskowiak17-Oct-11 1:49 
GeneralRe: Internet transfer control Pin
Magesa17-Oct-11 3:17
Magesa17-Oct-11 3:17 
GeneralRe: Internet transfer control Pin
Dave Kreskowiak17-Oct-11 4:17
mveDave Kreskowiak17-Oct-11 4:17 
GeneralRe: Internet transfer control Pin
Dave Kreskowiak17-Oct-11 4:18
mveDave Kreskowiak17-Oct-11 4:18 
GeneralRe: Internet transfer control Pin
JR21217-Oct-11 18:36
JR21217-Oct-11 18:36 
GeneralRe: Internet transfer control Pin
Tom Deketelaere20-Oct-11 1:37
professionalTom Deketelaere20-Oct-11 1:37 
AnswerRe: Internet transfer control Pin
ChandraRam17-Oct-11 3:37
ChandraRam17-Oct-11 3:37 
QuestionInternet transfer control Pin
Magesa14-Oct-11 5:56
Magesa14-Oct-11 5:56 
AnswerRe: Internet transfer control Pin
Wayne Gaylard14-Oct-11 6:00
professionalWayne Gaylard14-Oct-11 6:00 
GeneralRe: Internet transfer control Pin
Magesa15-Oct-11 1:13
Magesa15-Oct-11 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.