Task scheduler to run external operations