Home > OS >  How do i execute two commands in cmd at a scheduled clock time?
How do i execute two commands in cmd at a scheduled clock time?

Time:04-04

How do i execute these two commands in CMD at a scheduled clock time(as 10:53 PM)?

  • CD desktop

  • ffmpeg -i "https://X/index.m3u8" -rw_timeout 50000000 output.mp4

CodePudding user response:

First, put all your commands in a single batch file. Then, create a scheduled task for running it.

Type SCHTASKS /Create /? in command prompt for details about creating it.

At creation, you will probably want to specify either /SC ONCE for a one-time task, or /SC DAILY if you need it everyday.

  • Related