add windows os heartbeat task and script