import time import os print("Script started") open("/tmp/healthy", "w").close() # Create a file to indicate the script is running while True: print("Script is running") time.sleep(60)