in reply to Job schedule task inventory
That why I published this script here, where anyone are free to improve my code.