Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > Task Scheduler won't execute a task

Reply
Thread Tools Display Modes

Task Scheduler won't execute a task

 
 
SHIPP
Guest
Posts: n/a

 
      10-01-2007
I have the following vbscript to execute an Access program every day.

dim accessApp
set accessApp = createObject("Access.Application")
accessApp.OpenCurrentDataBase("K:\SUPPLY\SHARED\Al l\0MikeShipp\SchedJob.mdb")


accessApp.Run "sDownload"
accessApp.Quit
set accessApp = nothing

When I double click the icon the program runs fine. However, when I execute
it from the Task Scheduler I get the status "Could Not Start" and it does not
execute. Any ideas would be appreciated. Thanks.
--
M. Shipp
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Task Scheduler repeat task duration bug? sm02463 Windows Vista General Discussion 4 12-06-2008 06:40 PM
Task scheduler returns an error : the task image is corrupt ortamp Jean-David Windows Vista Performance 2 05-03-2008 02:02 PM
Execute applications with the Task Scheduler at window startup Peter Flindt Windows Vista General Discussion 0 12-25-2007 10:20 AM
Task Scheduler: Repeat Task and Duration kirsch59 Windows Vista General Discussion 6 07-11-2007 09:01 PM
Task scheduler problem : task do not close Junkyard Engineer Windows Vista General Discussion 0 06-07-2007 01:51 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59