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

Script to see network interface connection speed

cat network-speed #!/usr/bin/bash # ethtool enp2s0 | grep Speed ethtool $1 | grep Speed # mii-tool -v enp2s0 mii-tool -v $1   network-speed ...