我得到了 Uncaught OAuthException: (#200) The user has not authorized the application to perform this action\ error on occassion on occassion when a user change their password, 我想继续 crontab 脚本,而不是导致它以致命的方式结束错误,所以我可以处理其他用户....
这可能吗?
我得到了 Uncaught OAuthException: (#200) The user has not authorized the application to perform this action\ error on occassion on occassion when a user change their password, 我想继续 crontab 脚本,而不是导致它以致命的方式结束错误,所以我可以处理其他用户....
这可能吗?
所以抓住异常!如果您的脚本没有捕捉到它,这只是一个致命错误。
如果您不熟悉 PHP 中的异常,请参阅:http: //php.net/language.exceptions