Windows 7 schedule Task


  1. Posts : 4
    Windows 7
       #1

    Windows 7 schedule Task


    Hi,

    Currently having some problem on the schedule job task on windows 7. example script in my bat file as list below. so we schedule and it run only thing is it did not show the dos windows for us to reply message. kindly help. Thanks


    echo on
    said Hello
    pause.
      My Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #2

    Does it work if you run it without the scheduler? I don't know what the "said" command is.

    When I run your batch in a command prompt I get this

    C:\Users\Miles>echo on

    C:\Users\Miles>said Hello
    'said' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Users\Miles>pause
    Press any key to continue . . .
      My Computer


  3. Posts : 4
    Windows 7
    Thread Starter
       #3

    Yes if run maunally it will open the command windows, but if schedule under scheduler window 7 it wouldn't but refer to scheduler status it runing.

    As the script run we need to reply "Y" to continue next step. but for window 7 there is not command prompt screen show so we unable to reply "Y" that cause the scheduler stuck, kept under runing status..

    Thanks
      My Computer


  4. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #4

    Are you running the scheduled task using the same user account that you are logged into windows with?
    If the scheduled task runs with a different user account you won't see the command window.
      My Computer


  5. Posts : 4
    Windows 7
    Thread Starter
       #5

    yes using the same as login user id.
      My Computer


  6. Posts : 4
    Windows 7
    Thread Starter
       #6

    so any other solution on this?..
      My Computer


  7. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #7

    I don't know why you don't see the window, but here's some things you can try.

    In Task Scheduler Enable All Tasks History, run the task, and look through the History tab for any errors.

    Run a System File Check to make sure you don't have any issues.
    SFC /SCANNOW Command - System File Checker

    Create a new Windows User Account and task for that account, see if it works.
    Maybe there is some corruption in the Windows User Account you are using ?
    User Account - Create
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:43.
Find Us