-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
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
大佬,创建的2个配置文件 权限都给了,但是自动任务不自动执行。 #2
Comments
@sdfsfsfsf111112 我自己又试了,定时任务可以正常运行,既然可以手动运行,我怀疑定时任务没配置对,你可以执行一下操作。
|
玄学,改成您的格式了 55 19 * * * 19.55 执行一次 cat /tmp/cf2dns.log 也没有日志 。。。 |
@sdfsfsfsf111112 先在容器中执行
其中
|
进入目录 执行 docker-compose up -d
#!/usr/bin/env sh
/bin/echo "*/15 * * * * /usr/bin/python3 /home/www/cf2dns/cf2dns.py" > /etc/crontabs/nobody
进入容器 手动执行 /usr/bin/python3 /home/www/cf2dns/cf2dns.py 正常 可以返回ip 并更新到dns上面去
大佬是哪里问题呢 ,方便解答吗
The text was updated successfully, but these errors were encountered: