Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
monitorizar estado tarea programada
#2
prueba esto:

Set objService = GetObject("winmgmts:\\" & strComputer)
Set objNewJob = objService.Get("Win32_ScheduledJob")


Set colScheduledJobs = objService.ExecQuery("SELECT * FROM Win32_ScheduledJob")
For Each objJob in colScheduledJobs
Wscript.Echo ( "Command: " & objJob.Command & vbCRLF _
& "Days Of Week: " & objJob.DaysOfWeek & vbCRLF _
& "Interact with Desktop: " & objJob.InteractWithDesktop & vbCRLF _
& "Job ID: " & objJob.JobID & vbCRLF _
& "Job Status: " & objJob.JobStatus & vbCRLF _
& "Run Repeatedly: " & objJob.RunRepeatedly & vbCRLF _
& "Start Time: " & objJob.StartTime )
Next
 Reply
Messages In This Thread
monitorizar estado tarea programada - by Alki - 03-30-2010, 08:52 AM
Re: monitorizar estado tarea programada - by suzdal - 03-30-2010, 09:18 AM
Re: monitorizar estado tarea programada - by Alki - 03-30-2010, 10:41 AM
Re: monitorizar estado tarea programada - by Alki - 03-30-2010, 04:40 PM
Re: monitorizar estado tarea programada - by Alki - 03-30-2010, 10:48 PM
Re: monitorizar estado tarea programada - by Alki - 03-31-2010, 08:06 AM


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes