diff --git a/cronie.changes b/cronie.changes index ee3c4db..b8d119b 100644 --- a/cronie.changes +++ b/cronie.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Sep 8 10:24:43 UTC 2016 - tchvatal@suse.com + +- Add fix for bnc#983925 to run crons even when not on AC_POWER + * Nowdays it does not make much sense to not run crons when on + battery and actually it can even confuse people + ------------------------------------------------------------------- Wed Jul 1 20:11:18 UTC 2015 - crrodriguez@opensuse.org diff --git a/cronie.spec b/cronie.spec index 4b681ce..56f890f 100644 --- a/cronie.spec +++ b/cronie.spec @@ -1,7 +1,7 @@ # # spec file for package cronie # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/run-crons b/run-crons index c4180f7..ca695d0 100644 --- a/run-crons +++ b/run-crons @@ -32,17 +32,8 @@ # add variable to disable mail if all jobs returned 0 # 2015-06-25 - jmatejek@suse.com # bnc#812367 support MAILFROM as cron does -# - -# -# Don't run jobs on laptops, that are AC-offline -# -if test -x /usr/bin/on_ac_power ; then - on_ac_power -q - if [ "$?" = "1" ]; then - exit 0 - fi -fi +# 2016-08-08 - tchvatal@suse.com +# bnc#983925 run crons even on battery if [ -f /etc/sysconfig/cron ]; then . /etc/sysconfig/cron