我尝试用cronie代替cron:Package cronie-1.5.7-3.fc35.x86_64 is already installed.Nothing to do.Failed to enable unit: Unit file cronie.servicedoes not exist.
$ sudo systemctl start cronie
我见过的最常见的情况是有一个仅运行crond和代码库的伙伴映像,但是当使用cronie时,我无法读取在docker命令行中传入的任何环境变量。name cron -e VAR1=val1 -e VAR2=val2 cron_image start[root@dae7207bf10e /]# yum info cronieSummary : Cron daemon for executing programs at set times
URL : https://fedo