运行 python 每天在 Google Compute Engine 上使用 Linux Ubuntu 提交文件

Run python file daily on Google Compute Engine with Linux Ubuntu

我需要 运行 我的 python 文件每天一次 Google 计算引擎 Ubuntu 18.04 安装在其中。

使用 Crontab 运行 脚本(这里是 crontab documentation)并使用“chmod +x script.py

使您的 .py 文件可执行

讨论了类似的话题here and here