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
请问:用docker跑起来了,如何添加计划任务do.php?
安装完成90% 恭喜你,安装已经完成 请添加一个计划任务,文件为本程序根目录下的 do.php 计划任务运行时间建议为每分钟运行 ( Linux Crontab参考:* * * * * ) 为保证站点安全,系统已在 /setup 文件夹下放置了 install.lock 文件,如果您的服务器不支持写入,请手动放置一个空的 install.lock 文件到此文件夹下,否则任何人都有权限重新安装您的云签到。 请您尊重作者,无论如何都不要删减云签到的版权
The text was updated successfully, but these errors were encountered:
我用以下命令,不知道是不是解决了: 进容器: docker exec -it tieba-web-1 bash 进目录: cd var/www/ ls 确认看到有do.php 然后,用 crontab -e 按键盘 i 添加:* * * * * /var/www/do.php 按Esc输入wq!按回车,用 crontab -l 查看刚才输入的计划任务,不确实是不是这样。
Sorry, something went wrong.
docker版本不需要手动添加任务
No branches or pull requests
请问:用docker跑起来了,如何添加计划任务do.php?
问题描述
安装完成90%
恭喜你,安装已经完成
请添加一个计划任务,文件为本程序根目录下的 do.php
计划任务运行时间建议为每分钟运行 ( Linux Crontab参考:* * * * * )
为保证站点安全,系统已在 /setup 文件夹下放置了 install.lock 文件,如果您的服务器不支持写入,请手动放置一个空的 install.lock 文件到此文件夹下,否则任何人都有权限重新安装您的云签到。
请您尊重作者,无论如何都不要删减云签到的版权
复现步骤
环境
The text was updated successfully, but these errors were encountered: