Package Details: vixie-cron 4.1-12

Git Clone URL: https://aur.archlinux.org/vixie-cron.git (read-only)
Package Base: vixie-cron
Description: Paul Vixie's cron daemon, a fully featured crond implementation
Upstream URL: ftp://ftp.isc.org/isc/cron/
Licenses: GPL
Provides: cron, dcron
Submitter: None
Maintainer: fukawi2
Last Packager: fukawi2
Votes: 15
Popularity: 0.000000
First Submitted: 2008-07-29 00:51
Last Updated: 2015-06-08 23:56

Dependencies (1)

Required by (17)

Sources (5)

Latest Comments

1 2 Next › Last »

fukawi2 commented on 2018-07-22 23:51

There's no difference between /usr/bin/ and /usr/sbin on Arch since 2013. See: https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/ and https://wiki.archlinux.org/index.php/arch_packaging_standards#Directories

kuldeep commented on 2018-07-22 00:39

Shouldn't cron be installed in /usr/sbin. See: askubuntu.com/questions/308045/ddg#308048

fukawi2 commented on 2015-06-05 02:50

Thanks for spotting that. I've updated it in -13

jasonlewiscook commented on 2015-06-04 16:07

The systemd unit file distributed with this package is incorrect.

The problem:
'Restart' is set to 'always', but no 'Type' is specified, meaning that systemd assumes the default of 'simple'. Since cron actually forks and returns an exit status of 0 to the parent process (in this case, systemd), systemd assumes that cron died and tries to restart it ad infinitium. As a result, systemd's built-in brake mechanism takes over, and it refuses to try to restart it again after several attempts, resulting in:

systemd[1]: start request repeated too quickly for crond.service
systemd[1]: Failed to start Vixie-cron Periodic Command Scheduler.



The solution:
The following unit file (usually /usr/lib/systemd/system/crond.service)
-----------------------
[Unit]
Description=Vixie-cron Periodic Command Scheduler

[Service]
Type=forking
PIDFile=/var/run/cron.pid
ExecStart=/usr/bin/cron
Restart=always

[Install]
WantedBy=multi-user.target

fukawi2 commented on 2013-06-04 02:06

-12 moves /usr/sbin to /usr/bin and adds systemd unit file

fukawi2 commented on 2013-04-19 05:17

Adopted and updated to remove depreciated $startdir usage

TheRealSoup commented on 2010-11-24 10:20

The fcron package uses a conflicts to ensure that dcron is replaced

TheRealSoup commented on 2010-11-23 13:00

I'm not sure the provides line is correct or maybe it needs a conflicts line?
When installing I'm not prompted to remove dcron first and as such filesystem conflicts [rightfully] prevent installation.

Anonymous comment on 2010-09-26 14:11

Sorry, email failed so got no comments. Go ahead and own it.

mortzu commented on 2010-09-23 14:42

please orphan if you dont want to maintain anymore