Run python file daily on Google Compute Engine with Linux Ubuntu

*爱你&永不变心* 提交于 2021-02-10 14:05:31

问题


I need to run my python file once in every day on Google Compute Engine that Ubuntu 18.04 installed in it.


回答1:


Use Crontab to run the script (here's the crontab documentation) and make your .py file executable with "chmod +x script.py"

Similar topics were discussed here and here.



来源:https://stackoverflow.com/questions/61584857/run-python-file-daily-on-google-compute-engine-with-linux-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!