OK, you rest now.
This script gives more flexibility for CA Performance Center users. It will help to schedule discoveries easily. Users can schedule discoveries in their own cron jobs using this script.
The second script was much easier to write and took much less effort. I am getting better at creating small scripts. If there is a specific script you like in Perl in CAPC, give me a shout. I will see what I can do. No guarantees or threads attached