Php 在Google AppEngine中执行cron作业时发生致命错误

Php 在Google AppEngine中执行cron作业时发生致命错误,php,google-app-engine,cron,Php,Google App Engine,Cron,我想在GAE中执行cron作业,但出现此错误。我想在不登录电子邮件的情况下使用app engine服务 PHP Fatal error: Uncaught exception 'Google_AuthException' with message 'Could not json decode the token' in /base/data/home/apps/s~gcdc2013-cloud-daybook/1.371004284914522718/google-api-php-client

我想在GAE中执行cron作业,但出现此错误。我想在不登录电子邮件的情况下使用app engine服务

PHP Fatal error:  Uncaught exception 'Google_AuthException' with message 'Could not json decode the token' in /base/data/home/apps/s~gcdc2013-cloud-daybook/1.371004284914522718/google-api-php-client/src/auth/Google_OAuth2.php:162
Stack trace:
#0 /base/data/home/apps/s~gcdc2013-cloud-daybook/1.371004284914522718/google-api-php-client/src/Google_Client.php(170): Google_OAuth2->setAccessToken(NULL)

当您不从cron运行它时,它能工作吗

您可能缺少服务帐户密钥,或者加载不正确