if I'm not mistaking, you're starting a GUI app (probably X-based) every X number of seconds... not quite handy unless that's exactly what you need. If you're not in front of your comp every X seconds, you'll end up closing Y number of app windows :)
... Quidquid perl dictum sit, altum viditur.