-
Notifications
You must be signed in to change notification settings - Fork 669
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
我是在安卓termux上运行这个项目的,但是无法实现定时解析[debug] #415
Comments
可能Termux运行定时任务的方式和Linux不太一样,上面这个快捷命令只对 Ubuntu有效。 |
如果使用cronie,执行哪个任务文件?是执行run.py吗? |
我试了下在termux上手动执行 python3 /data/data/com.termux/files/usr/lib/python3.11/site-packages/run.py是可以执行的,但是使用crontab就没效果了。我的代码是:*/10 * * * * python3 /data/data/com.termux/files/usr/lib/python3.11/site-packages/run.py。 |
描述问题 (Describe the bug)
版本信息 (version info)
我是在备用机小米6(安卓9)上的termux上允许的ddns项目,操作过程,参考酷安上的帖子https://www.coolapk.com/feed/17073664?shareKey=MTljMmMzNDJhODdmNjU5MmJiN2Q~&shareUid=634365&shareFrom=com.coolapk.market_12.5.4
按照帖子上的教程运行成功了,但是按照github上的代码,设置定时任务操作失败了。代码如下:curl -sSL https://github.com/NewFuture/DDNS/releases/download/v2.11.5/create-task.sh | bash
我看了下提示:etc/init.d/cron找不到这个路径。大佬帮忙修改下代码,看下怎么在termux上也能运行。
复现步骤 (To Reproduce)
重复操作,也是报同样的错误,估计是termux存放文件路径的问题。
配置文件 (config file)
调试输出 (debug output)
补充说明 (Additional context)
The text was updated successfully, but these errors were encountered: