Skip to content
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

关于data目录内配置文件的疑问 #74

Open
gyflonely opened this issue Mar 30, 2020 · 0 comments
Open

关于data目录内配置文件的疑问 #74

gyflonely opened this issue Mar 30, 2020 · 0 comments

Comments

@gyflonely
Copy link

gyflonely commented Mar 30, 2020

data目录下有config.ini及crontab.txt两个配置文件
config.ini里面的interval条目是设置定时下载的间隔
crontab.txt里面也是定时下载的设置
我在config.ini里面设置interval为24小时即86400秒
crontab.txt里面使用的是默认配置*/30 * * * * /app/docker/run_download.sh >> /var/log/bustag.log 2>&1 应该是每30分钟下载一次
我看了下docker的日志,好像只有config.ini生效了也就是24小时下载一次数据,而crontab.txt好像并没有生效,请问怎样能使dock里面的crontab.txt生效呢
有人估计会说修改config.ini不也一样,我是看到crontab.txt是linux的定时任务,所以想在里面加一些东西,比如定时备份数据库文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant