Write a python script to start the program on the mac regularly

You can use crontab to start programs on your Mac at regular intervals. You can enter the crontab -e command in the terminal, then enter the following in a text editor: * * * * * /path/to/program This will run /path/to/program every minute. You can also change the running time according to your own needs, such as once an hour, once a day, and so on.

Guess you like

Origin blog.csdn.net/weixin_35754962/article/details/129497960