refactor runcron_yml_ok
add mock_runcron and test