2021-11-01

Windows - scheduling a program on the command line

I felt compelled to write this during a migration from CMD to schedule the restoration of a service after the migration was completed. Pardon the Windows commentary which can be easily changed.


schtasks /Create /SC once /TR "net.exe start sshd" /ST 18:00  /TN STUPID-WINDOWS

No comments:

Post a Comment

Linux NetworkManager command line configuration

 Configure Network Settings Using Network Manager in Linux Last updated: March 25, 2025 Written by:baeldung Network ConfigurationNetworkMana...