Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Apr 2007
    Location
    Assen , the Netherlands
    Posts
    25

    Default Thanks again

    Hey JosefZ,

    Thanks again for making this scipt, it will certainly be useful in the future.

    I have another slight problem and that is that I want the AEX.vbs script to be executed at 9:00 all workdays via the taskplanner. I tried several settings but come not any further, what is the wright parameter setting.

    Thanks in advance , Wim

  2. #12
    Join Date
    Mar 2004
    Location
    Czechlands (GMT+01:00), Loc: 49°20'11.029"N, 17°59'12.266"E
    Posts
    1,197

    Default

    Hi Wim,
    I do not know which is your trouble with the task scheduler. However, I can hint you what to run.
    If the full path to your script is e.g.
    Code:
    D:\VBSs\WinGuides\IEX_NL\aex-nl.vbs
    then program/script to run should be something like (pay heed to full path to the windows script host program):
    Code:
    C:\Windows\System32\wscript.exe D:\VBSs\WinGuides\IEX_NL\aex-nl.vbs
    or
    Code:
    C:\Windows\System32\cscript.exe D:\VBSs\WinGuides\IEX_NL\aex-nl.vbs
    rather than bare
    Code:
    D:\VBSs\WinGuides\IEX_NL\aex-nl.vbs
    Moreover, if you want your task to run even if no user is logged in, you should enter a user name and password...
    H.T.H.
    Last edited by josefz; 11-09-2010 at 07:11 AM. Reason: doubled "code" by mistake
    To find a fault is easy; to do better may be difficult. (Plutarch)

  3. #13
    Join Date
    Apr 2007
    Location
    Assen , the Netherlands
    Posts
    25

    Default Another solution

    Hi JosefZ,

    Taskplanner doesn't work anymore on my computer for any program. After my crash one month ago XP doesn't work as before in its totallity after I used my recovery CD from the manufacturer. I get an errormessage stating that taskplanner is unable to execute the commands. So I thought of another way to start my VBScript.

    If we can make a batchfile, that starts running after Windows startup, which makes the VBScript running at 9:00 u. and then closses itself. Do you know what I mean and can you fix that for me?

    I hope so, thanks again, Wim

  4. #14
    Join Date
    Mar 2004
    Location
    Czechlands (GMT+01:00), Loc: 49°20'11.029"N, 17°59'12.266"E
    Posts
    1,197

    Default

    Make a one-line batchfile like this (cf. my post 11-09-2010 09:10 AM):
    Code:
    C:\Windows\System32\wscript.exe D:\VBSs\WinGuides\IEX_NL\aex-nl.vbs
    and and let it run after Windows startup (or at user logon, rather).
    Remember:

    1. The script is written to start grabbing values from the web no sooner than a relevant data put in an appearance there, regardless it arrives at 8:00, 8:30, 9:00, ...

    2. The script ends off grabbing values from the web as soon as a relevant data stop appearing, and quits with user logoff (or 19:00 at latest, whatever comes heretofore).
    To find a fault is easy; to do better may be difficult. (Plutarch)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •