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.000699
First Submitted: 2008-07-29 00:51
Last Updated: 2015-06-08 23:56

Dependencies (1)

Required by (14)

Sources (5)

Latest Comments

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

mortzu commented on 2010-08-18 22:24

delete the -s from install -m 755 -o root -s ${startdir}/cronrunparts ${pkgdir}/usr/bin

mortzu commented on 2010-08-18 22:17

getting strip:/tmp/yaourt-tmp-helios/aur-vixie-cron/pkg/usr/bin/cronrunparts: File format not recognized on build. pls fix

Nicky726 commented on 2010-07-25 17:15

Hello,

when introducing non-standard variable in the PKBUILD, such as gentoo_miror, it should start with _ character;

you should use install -m some_permissions instead of cp.

Nicky726