Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: "at" command in cmd, Remote Scheduled Task for NOW

15 Dec 2011   #1
ThePrince

Windows 7
 
 
"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 System SpecsSystem Spec
.
16 Dec 2011   #2
Dave Atkin

Windows 7 Ultimate x64
 
 

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

Have a look here:
PsExec



Dave
My System SpecsSystem Spec
20 Dec 2011   #3
ThePrince

Windows 7
 
 

Thank You. That tool does it. :)


Prince
My System SpecsSystem Spec
.

Reply

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




Thread Tools




Similar help and support threads
Thread Forum
"Desktop As Shortcut" Command Is Missing from the "Send To" Menu
Can anyone help me with this ? i got a picture ... i cant sendto desktop as shortcut the icon is missing .. help !!:cry:
Customization
can you rename a " Scheduled Task"
I have a series of tasks I have created and would like to rename them sometimes. This particular example is I had a back-up running at 6pm. I changed the time to 5pm. But, I can not figure out how to rename the task from "Backup the Databases 6pm" to "Backup the Databases 5pm". I do not...
General Discussion
Can I stop UAC prompt for scheduled program (not "task" oriented)?
I have a TV capture app which required installing in legacy mode. With scheduled recordings a UAC prompt requires confirmation before initialization negating the usefulness of scheduling. I can leave the app open in the background and scheduled recordings will proceed as expected but with XP I...
System Security
(Solution) No task manager/ No "run" command [Win 7]
I've been dealing with this problem for a few days and i finally got it after looking over different forums form random websites they all work for some people but I'm gonna try to put them all together the best i can. First of all I got this problem from a virus like I'm sure you did. The virus...
System Security
windows 7 scheduled task remote access
I recently upgraded my system to Windows 7 and I am unable to access scheduled taks on my remote servers. Before when I was running off win XP i had no problem with this. But now, even when opening up share folders on all my servers, i dont see the scheduled task folder; however, when i check on a...
Network & Sharing


Our Sites

Site Links

About Us

Find 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 08:28.
Twitter Facebook Google+