作者:玉临风居士 | 来源:互联网 | 2023-05-19 16:50
Imputtingacrontabjobforupdatingwithapt-getonceaday(runningDebianLenny,thereareupda
I'm putting a crontab job for updating with apt-get once a day (running Debian Lenny, there are updates almost daily). But almost all examples i've seen of this cron job invoke the -d flag.
我每天都会使用apt-get进行一次crontab作业更新(运行Debian Lenny,几乎每天都有更新)。但是,我见过的这个cron作业的几乎所有例子都会调用-d标志。
This elicits 4 questions:
这引出了4个问题:
- Why should I only download the packages and not install them?
为什么我只下载软件包而不安装它们?
- Doesn't this defeat the purpose of running it automatically?
这不是自动失败的目的吗?
- Don't I have to go in and actually install the updates later?
我不是必须进去并在以后实际安装更新吗?
- Is it safe for me to run the cron job without the -d flag?
没有-d标志运行cron作业对我来说安全吗?
2 个解决方案