New
#1
How to create a command queue and add to it once activated
There's a command I often use and the majority of the time it take multiple minutes to complete. I don't want to wait to do the command, so do it as soon as I want to. Sometimes I'd like to do an additional command a short time after but there's minutes left on the running command; 2 things then become a problem
- I don't have a good memory so I often forget to do it, and come back to it many minutes (if not hours) after the command is completed, and
- when I do remember, the majority of the time some minutes have passed by since the completion, as I do other tasks in the meanwhile and only check back between them.
Is there a way to create a command queue and add to it once activated? Perhaps there can be 2 command prompts, and the 2nd be tied up to the 1st and have some kind of cron to check its status; for example from 1st prompt run a command to get its process ID, then on the 2nd run a program that use that #, something like, thenCode:PromptQueue /prid [#].Code:PromptQueue /add "[command to be run in the 1st prompt once what its running ends]"
Thank you kindly for your help. As requested:
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19044 N/A Build 19044
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free