"at" command in cmd, Remote Scheduled Task for NOW


  1. Posts : 11
    Windows 7
       #1

    "at" command in cmd, Remote Scheduled Task for NOW


    I want to create a scheduled job on a remote computer.


    However, I want to create the scheduled job to run NOW, meaning the current time.

    For example...

    at \\COMPUTER now myCommand

    I know that the time parameter has to be in a format like 00:12 or something, but how do I make the scheduled job run at the current time (aka immediately)?


    Also, I wouldn't mind if my command ran, say, 5 seconds later. But the point is I want my command to run almost immediately after scheduling.


    My intent behind this is simulating an instant remote execution of a program.


    Any help much appreciated!!!
    Prince
      My Computer


  2. Posts : 543
    Windows 7 Ultimate x64
       #2

    Microsoft has a utility for executing jobs on remote systems - PsExec.

    Have a look here:
    PsExec



    Dave
      My Computer


  3. Posts : 11
    Windows 7
    Thread Starter
       #3

    Thank You. That tool does it. :)


    Prince
      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 04:30.
Find Us