Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Abut scheduled Task can not able to run
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
moonhk  
View profile  
 More options Oct 27 2009, 9:16 am
Newsgroups: microsoft.public.scripting.wsh
From: moonhk <moon...@gmail.com>
Date: Tue, 27 Oct 2009 02:16:16 -0700 (PDT)
Local: Tues, Oct 27 2009 9:16 am
Subject: Abut scheduled Task can not able to run
Hi All

I setup one scheduled Task, but the task status is "could not start".

Any problem on scheduled for vbs ? When Manual running is ok.

10/27/2009  17:07           236,887 baby_boom_20091027_TUE_170723.html
10/27/2009  17:07           236,864 baby_boom_20091027_TUE_170729.html
10/27/2009  17:10           236,887 baby_boom_20091027_TUE_171020.html

'~~ ie_down03.vbs
'http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/
c1b71519-ebdd-419f-8ce5-c1ef74f3441a
'~~ 2009/10/27
Option Explicit

Dim oXMLHTTP
Dim oStream
Dim wdate
Dim FN
Dim a(7)

a(1) = "SUN"
a(2) = "MON"
a(3) = "TUE"
a(4) = "WED"
a(5) = "THU"
a(6) = "FRI"
a(7) = "SAT"

wDate = Year(Now) & Right("00" & Month(Now), 2) & Right("00" & Day
(Now), 2)  & _
         "_" & a(Weekday(Date)) & "_"  & right("00" & hour(now),2) &  _
         right("00" & Minute(now),2)  & right("00" & Second(now),2)

FN  = "D:\ericl6\internet\baby_boom_"  & wDate  & ".html"
Set oXMLHTTP = CreateObject("MSXML2.XMLHTTP.3.0")

oXMLHTTP.Open "GET", "http://baby.boom.com.hk/portfolio/ipo/list.asp",
False
oXMLHTTP.Send

If oXMLHTTP.Status = 200 Then
 Set oStream = CreateObject("ADODB.Stream")
 oStream.Open
 oStream.Type = 1
 oStream.Write oXMLHTTP.responseBody
 oStream.SaveToFile FN
 oStream.Close
End If


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pegasus [MVP]  
View profile  
 More options Oct 27 2009, 10:25 am
Newsgroups: microsoft.public.scripting.wsh
From: "Pegasus [MVP]" <n...@microsoft.com>
Date: Tue, 27 Oct 2009 11:25:47 +0100
Local: Tues, Oct 27 2009 10:25 am
Subject: Re: Abut scheduled Task can not able to run

"moonhk" <moon...@gmail.com> wrote in message

news:5fbca03d-2a2a-42d6-933b-21293a847b21@o9g2000prg.googlegroups.com...

What happens when you schedule this simple batch file?
@echo off
echo %date% %time% %UserName% >> %SystemRoot%\temp\test.txt

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
moonhk  
View profile  
 More options Oct 29 2009, 12:54 am
Newsgroups: microsoft.public.scripting.wsh
From: moonhk <moon...@gmail.com>
Date: Wed, 28 Oct 2009 17:54:17 -0700 (PDT)
Local: Thurs, Oct 29 2009 12:54 am
Subject: Re: Abut scheduled Task can not able to run
On 10月27日, 下午6時25分, "Pegasus [MVP]" <n...@microsoft.com> wrote:

I does not know why the schedule job can run again. now change
anything.

10/28/2009  12:07           239,160 baby_boom_20091028_WED_120700.html
10/28/2009  12:08           239,160 baby_boom_20091028_WED_120800.html
10/28/2009  12:09           239,177 baby_boom_20091028_WED_120900.html
10/28/2009  12:10           239,160 baby_boom_20091028_WED_121000.html
10/28/2009  12:11           239,176 baby_boom_20091028_WED_121100.html
10/28/2009  12:12           239,153 baby_boom_20091028_WED_121200.html
10/28/2009  12:13           239,160 baby_boom_20091028_WED_121300.html
10/28/2009  12:14           239,160 baby_boom_20091028_WED_121400.html
10/28/2009  12:15           239,153 baby_boom_20091028_WED_121500.html
10/28/2009  12:16           239,153 baby_boom_20091028_WED_121600.html
10/28/2009  12:17           239,154 baby_boom_20091028_WED_121700.html
10/28/2009  12:18           239,177 baby_boom_20091028_WED_121800.html
10/28/2009  12:20           239,178 baby_boom_20091028_WED_122000.html
10/28/2009  12:21           239,177 baby_boom_20091028_WED_122100.html
10/28/2009  12:22           239,161 baby_boom_20091028_WED_122200.html
10/28/2009  12:23           239,154 baby_boom_20091028_WED_122300.html
10/28/2009  12:24           239,161 baby_boom_20091028_WED_122400.html
10/28/2009  12:25           239,161 baby_boom_20091028_WED_122500.html
10/28/2009  12:26           239,154 baby_boom_20091028_WED_122600.html
10/28/2009  12:27           239,178 baby_boom_20091028_WED_122700.html
10/28/2009  12:28           239,154 baby_boom_20091028_WED_122800.html
10/28/2009  12:29           239,177 baby_boom_20091028_WED_122900.html
10/28/2009  12:30           239,161 baby_boom_20091028_WED_123000.html
10/28/2009  12:31           239,161 baby_boom_20091028_WED_123100.html
10/28/2009  12:32           239,176 baby_boom_20091028_WED_123200.html
10/28/2009  12:33           239,152 baby_boom_20091028_WED_123300.html
10/28/2009  12:34           239,159 baby_boom_20091028_WED_123400.html
10/28/2009  12:35           239,175 baby_boom_20091028_WED_123500.html
10/28/2009  12:36           239,152 baby_boom_20091028_WED_123600.html
10/28/2009  12:37           239,176 baby_boom_20091028_WED_123700.html
10/28/2009  12:38           239,152 baby_boom_20091028_WED_123800.html
10/28/2009  12:39           239,176 baby_boom_20091028_WED_123900.html
10/28/2009  12:40           239,152 baby_boom_20091028_WED_124000.html
              60 File(s)     14,336,104 bytes
               2 Dir(s)  37,404,377,088 bytes free


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
moonhk  
View profile  
 More options Oct 29 2009, 4:11 am
Newsgroups: microsoft.public.scripting.wsh
From: moonhk <moon...@gmail.com>
Date: Wed, 28 Oct 2009 21:11:38 -0700 (PDT)
Local: Thurs, Oct 29 2009 4:11 am
Subject: Re: Abut scheduled Task can not able to run
On 10月29日, 上午8時54分, moonhk <moon...@gmail.com> wrote:

Today, the Schedule Task not work again.
*.bat *.vbs the status "Could not start"
But GoogleUpdateTaskUser* can able to run

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pegasus [MVP]  
View profile  
 More options Oct 29 2009, 8:50 am
Newsgroups: microsoft.public.scripting.wsh
From: "Pegasus [MVP]" <n...@microsoft.com>
Date: Thu, 29 Oct 2009 09:50:33 +0100
Local: Thurs, Oct 29 2009 8:50 am
Subject: Re: Abut scheduled Task can not able to run

"moonhk" <moon...@gmail.com> wrote in message

news:a003fb21-8013-4bab-b80e-4e0c105aeed4@13g2000prl.googlegroups.com...
On 10月27日, 下午6時25分, "Pegasus [MVP]" <n...@microsoft.com> wrote:

I does not know why the schedule job can run again. now change
anything.

=================

From your replies I get the impression that the Task Scheduler sometimes
runs the simple batch file I suggested and sometimes it does not run it. If
so then you have a problem with the Task Scheduler, not with your VB Script.
To solve it I recommend you start a new thread in an appropriate newsgroupg,
e.g. microsoft.public.windowsxp.general (if you run Windows XP).


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google