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

ThePrince

New member
Local time
3:46 PM
Messages
11
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

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

Have a look here:
PsExec



Dave
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
Intel Core i7 2600K (O/C 4.7GHz)
Motherboard
Asus ROG Maximus IV Extreme-Z - Intel Z68 Chipset
Memory
8GB Corsair Vengeance LP, DDR3, 1600Mhz
Graphics Card(s)
Nvidia GTX 460 Graphics Card
Sound Card
Onboard
Monitor(s) Displays
Dell E228WFP
Hard Drives
2 x 500GB Samsung SpinPoint Drives (1 for OS, 1 for Data and Apps)
PSU
CoolerMaster 1000W
Case
CoolerMaster HAF
Cooling
Air
Internet Speed
Fibre - 60MB Down, 30MB Up
Antivirus
ESET NOD32 Antivirus
Back
Top