]> git.pld-linux.org Git - packages/sysstat.git/commitdiff
fix cron definiton, broken since sysstat-11.0.8-2 auto/th/sysstat-11.2.0-4
authorElan Ruusamäe <glen@delfi.ee>
Sun, 15 Jan 2017 15:31:14 +0000 (17:31 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 15 Jan 2017 15:33:22 +0000 (17:33 +0200)
crond[15988]: (/bin/systemd_booted) ERROR (getpwnam() failed)

refs:
7b30f63 - (tag: auto/th/sysstat-11.0.8-2) install our crontab which checks for systemd (1 year, 3 months ago)

crontab
sysstat.spec

diff --git a/crontab b/crontab
index f84eb4d84a0e85d5f8622cb55fedf73c001249b0..9606b8581ef5fdfd94cd4bef55d22611bdc037ff 100644 (file)
--- a/crontab
+++ b/crontab
@@ -1,16 +1,17 @@
 # Crontab
 #
 # 8am-7pm activity reports every 20 minutes during weekdays.
-# 0 8-18 * * 1-5 /bin/systemd_booted || /usr/lib/sa/sa1 1200 3
+#0 8-18 * * 1-5 root /bin/systemd_booted || /usr/lib/sa/sa1 1200 3
+
 # activity reports every 10 minutes everyday.
-0 * * * * /bin/systemd_booted || /usr/lib/sa/sa1 600 6
-#
+0 * * * * root /bin/systemd_booted || /usr/lib/sa/sa1 600 6
+
 # Activity reports every an hour on Saturday and Sunday.
-# 0 * * * 0,6 /bin/systemd_booted || /usr/lib/sa/sa1
-#
+#0 * * * 0,6 root /bin/systemd_booted || /usr/lib/sa/sa1
+
 # 7pm-8am activity reports every an hour during weekdays.
-# 0 19-7 * * 1-5 /bin/systemd_booted || /usr/lib/sa/sa1
-#
+#0 19-7 * * root 1-5 /bin/systemd_booted || /usr/lib/sa/sa1
+
 # Daily summary prepared at 19:05.
-# 5 19 * * 1-5 /bin/systemd_booted || /usr/lib/sa/sa2 -A
-5 19 * * * /bin/systemd_booted || /usr/lib/sa/sa2 -A
+#5 19 * * root 1-5 /bin/systemd_booted || /usr/lib/sa/sa2 -A
+5 19 * * * root /bin/systemd_booted || /usr/lib/sa/sa2 -A
index 5262253ba1a63c7e16c6e7c493cea7ad2f6318ce..f2dc26e0ea4b7e34cf9da4f5ba85cca9d65906a9 100644 (file)
@@ -12,7 +12,7 @@ Summary(zh_CN.UTF-8): sar, iostat 等系统监视工具
 # Sysstat 11.2.x (stable version).
 Name:          sysstat
 Version:       11.2.0
-Release:       3
+Release:       4
 License:       GPL v2
 Group:         Applications/System
 Source0:       http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz
This page took 0.030015 seconds and 4 git commands to generate.