'How do i execute two commands in cmd at a scheduled clock time?

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



Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Wisblade