Got to the most basic script that can possibly determine if jobs are available. Wouldn't want to run it hundreds of times per hour, however, because I'm not logging-out at the end or anything. Will have to look into this some more.