cronie-crond / cronie

Cronie cron daemon project
Other
467 stars 80 forks source link

What if both anacron and noanacron are installed? #112

Closed jackhhh closed 2 years ago

jackhhh commented 2 years ago

There is no conflict defined in the spec file between the two packages. What will happen if a user installed both two packages? Is it necessary to add a conflict in the spec file to avoid this situation?

t8m commented 2 years ago

The cronie-anacron will take precedence and the anacron will be used to run the jobs. The jobs run from the cronie-noanacron will be just no-ops as they check for presence of the 0anacron file before executing the jobs.