First pass at implementing scheduler task