complete Scheduled Task