Have you had a look at the various SchedTask UDFs that are posted?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.