We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
因腾讯云函数要 /tmp 目录才能读写文件,需将notify.py和main.py里面日记路径 ./log.txt 改成 ../../tmp/log.txt,再上传!
建议查看这个腾讯云函数文档:https://cloud.tencent.com/document/product/583/19805 执行方法的格式里面写的很清楚:文件名.函数入口 ,不用动代码 函数管理-函数代码-执行方法改成:main.main
任务几个请求的域名中是屏蔽非大陆IP的(请部署到广州、上海、北京、成都这几个区域内),否则无法正常执行!
未在函数配置变量设置 TZ=Asia/Shanghai 时区的,请把定时触发改成 自定义触发周期 在早上8点后执行! 不然签到会报错!例如每天8时10分0秒执行的Cron表达式为:0 10 8 * * * *
0 10 8 * * * *
其他部署遇到的莫名其妙问题请自行善用各种搜索引擎解决! 请不要再 New issues !
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1.关于log.txt文件读写权限问题:
2.函数执行入口问题:
3.部署区域
4.云函数时区/触发时间问题
请在本地测试能跑后,复制到腾讯云,处理以上几个问题后也能正常跑起来
其他部署遇到的莫名其妙问题请自行善用各种搜索引擎解决!
请不要再 New issues !
The text was updated successfully, but these errors were encountered: