Scheduled Task Run

by , under Scheduled Tasks

Windows uses task scheduler for a long time. It is a rather useful method for periodical or event triggered jobs. Please look at this.
If you like or need automation in this feature of windows and your server is not upgraded to Windows Server 2012 R2 or client version is below Windows 8.1, “schtasks” is the tool you will need. Here is a sample of running a scheduled task on remote system:

[code language=”bash”]
schtasks /S systemName /RUN /tn "Task Name"

For details about schtasks, check here.

On the other hand, if you are able to upgrade your systems to at least Windows Server 2012 R2 and/or Windows 8.1, powershell cmdlets comes into play. Please check them!