Script will iterate through all QEMU processes by imagefactory till there is no one running longer than three hours. It iterates from oldest to newest processes (if there is more than one). The script exits if the oldest QEMU processes by imagefactory is younger than 3 hours.
TODO:
- Argument to specify maximum factory run time in minutes - DONE
- Use a variable instead of duplicating the same very long argument three times - DONE
Fixes https://pagure.io/taskotron/issue/233 .
Script will iterate through all QEMU processes by imagefactory till there is no one running longer than three hours. It iterates from oldest to newest processes (if there is more than one). The script exits if the oldest QEMU processes by imagefactory is younger than 3 hours.
TODO:
- Argument to specify maximum factory run time in minutes - DONE
- Use a variable instead of duplicating the same very long argument three times - DONE