Re: cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 23 Sep 2016 17:49:34 -0400
Jon LaBadie wrote:

> Please consider that your F24 setup is incomplete or has some
> errors and your experience is not the norm.

It works fine for me with everything moved into cron.

Here's my /etc/crontab:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly/
02 4 * * * root run-parts /etc/cron.daily/
22 4 * * 0 root run-parts /etc/cron.weekly/
42 4 1 * * root run-parts /etc/cron.monthly/

My /etc/anacrontab is empty (because I copied /dev/null to
it), and my /etc/cron.hourly/0anacron file is also
empty for the same reason.

This removes everything from anacron and runs things
at actually predictable times on cron.

You might ask, "Why not just remove anacron?". This
totally absurd nonsense happens when you try that:

[root@zooty ~]# dnf erase cronie-anacron
Dependencies resolved.
================================================================================
 Package                 Arch   Version                  Repository        Size
================================================================================
Removing:
 ceph                    x86_64 1:10.2.2-2.fc24          @updates           0  
 ceph-base               x86_64 1:10.2.2-2.fc24          @updates          24 M
 ceph-mds                x86_64 1:10.2.2-2.fc24          @updates         9.3 M
 ceph-mon                x86_64 1:10.2.2-2.fc24          @updates         9.2 M
 ceph-osd                x86_64 1:10.2.2-2.fc24          @updates          31 M
 ceph-selinux            x86_64 1:10.2.2-2.fc24          @updates         102 k
 cronie                  x86_64 1.5.1-2.fc24             @updates         236 k
 cronie-anacron          x86_64 1.5.1-2.fc24             @updates          41 k
 crontabs                noarch 1.11-12.20150630git.fc24 @koji-override-0  21 k
 crypto-utils            x86_64 2.4.1-61.fc24            @fedora          176 k
 epson-inkjet-printer-artisan-725-835-series
                         x86_64 1.0.0-1lsb3.2            @@commandline    3.1 M
 google-chrome-stable    x86_64 53.0.2785.116-1          @google-chrome   181 M
 logwatch                noarch 7.4.3-2.fc24             @fedora          1.9 M
 redhat-lsb              x86_64 4.1-32.fc24              @fedora            0  
 redhat-lsb-core         x86_64 4.1-32.fc24              @fedora           45 k
 redhat-lsb-cxx          x86_64 4.1-32.fc24              @fedora            0  
 redhat-lsb-desktop      x86_64 4.1-32.fc24              @fedora            0  
 redhat-lsb-languages    x86_64 4.1-32.fc24              @fedora          814  
 redhat-lsb-printing     x86_64 4.1-32.fc24              @fedora            0  
 webalizer               x86_64 2.23_08-3.fc24           @fedora          349 k

Transaction Summary
================================================================================
Remove  20 Packages

Installed size: 260 M
Is this ok [y/N]: n
Operation aborted.

Why cronie depends on anacron, I have no idea, and I suspect all the
other things being removed are because of cronie, but the only real
alternative is to beat anacron with a big enough hammer. It can't
be removed.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux