Debian12中的定时怎么设置?

31次阅读

共计 720 个字符,预计需要花费 2 分钟才能阅读完成。

我以前都是使用 centos,所以对 crontabe 懂一些,但是我发现换到 debian12 之后,apt install cron 或者 apt install cronie 都安装不上,系统要求使用 systemd,请大佬指点,谢谢了

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package corntab
root@ip-:/home/hostloc# apt install corn
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package corn
root@ip-:/home/hostloc# apt install cronie
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package cronie is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  systemd-cron cron-daemon-common cron bcron

正文完
 0