NICE=15
# run-parts
-01 * * * * root /bin/run-parts /etc/cron.hourly
-02 5 * * * root /bin/run-parts /etc/cron.daily
-02 2 * * 0 root /bin/run-parts /etc/cron.weekly
-02 4 1 * * root /bin/run-parts /etc/cron.monthly
+01 * * * * root /bin/run-parts --report /etc/cron.hourly
+02 5 * * * root /bin/run-parts --report /etc/cron.daily
+02 2 * * 0 root /bin/run-parts --report /etc/cron.weekly
+02 4 1 * * root /bin/run-parts --report /etc/cron.monthly
Summary: Cron daemon for executing programs at set times
Summary(pl.UTF-8): Demon cron do uruchamiania programów o zadanym czasie
Name: cronie
-Version: 1.5.7
-Release: 6
+Version: 1.7.2
+Release: 1
License: MIT and BSD and GPL v2
Group: Daemons
+#Source0Download: https://github.com/cronie-crond/cronie/releases
Source0: https://github.com/cronie-crond/cronie/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 544f141aa4e34e0a176529be08441756
+# Source0-md5: 2dacf4a7198b26dbd497a418cf31443d
Source1: %{name}.init
Source3: cron.sysconfig
Source4: %{name}.crontab
Provides: vixie-cron = 4.3-1
%endif
Obsoletes: crondaemon
-Obsoletes: cronie-systemd
+Obsoletes: cronie-systemd < 1.4.8-9
+Obsoletes: cronie-upstart < 1.4.12-5
Obsoletes: crontabs
Obsoletes: cronjobs
%if "%{pld_release}" == "th"
LC_ALL=C /bin/awk -v d="$(LC_ALL=C date "+%b %e")" ' $1 " " $2 ~ d' /var/log/cron \
| /bin/grep -qE "PAM.*(Modu. jest nieznany|Module is unknown)" \
&& echo "crond is failing on PAM, restarting ( https://github.com/cronie-crond/cronie/issues/87 )" >&2 \
- && /sbin/service crond condrestart
+ && /sbin/service crond try-restart
fi
exit 0
EOF