【发布时间】:2017-08-11 10:03:50
【问题描述】:
我在 Google Cloud 的计算引擎上的一个实例中设置了一个 cron 作业。
假设每天早上 7:47 运行。但是,每次我检查文件是否已在 7:48 执行时,它都不起作用。
helloworld.sh 文件的代码在这里
echo "helloworld" + "$(date)" > helloworld.txt
我已将检查设置为 root 并将 cron 作业设置为 root 仍然没有。有什么想法吗?
【问题讨论】:
标签: google-app-engine cron crontab google-compute-engine