Re: [opensuse] cron issue
Sorry, I had discarded my reply and started another one and forgot to include the opensuse list (DOH!). I will uninstall kpowersave, good idea. Thanks alot for the advice. Nick On 5/9/07, Joachim Schrod <jschrod@acm.org> wrote:
"NJ" == Nick Jones <nickjon@gmail.com> writes:
Maybe the check for ac-power is wrong, or whatever. NJ> It is a tower. This below here looks fishy. If either of those 1's NJ> is the exit status of the function on_ac_power then HAL is screwed up NJ> or something. NJ> + test -x /usr/bin/on_ac_power NJ> + on_ac_power -q NJ> + '[' 1 = 1 ']' NJ> + exit 0 NJ> + rm -rf /tmp/run-crons.lp9846
Well, that's the cause of your problems:
on_ac_power -q
returns with the exit code 1. If this is not a laptop in battery mode, it should return with an exit code 0.
But now we're at the end of the stuff that I know -- it will be better to send your last response to me again to the opensuse mailing list. (In fact, it is always better to send responses to the list; so that others in your situation can look up the answer in the archives as well.) Perhaps somebody else on the list can tell you why /usr/bin/on_ac_power returns with a wrong result.
Of course, as a quick workaround, you can use chmod -x /usr/bin/on_ac_power But this might break again if some update package appears for powersave.
Or, if your system is not a laptop, you might want to remove the package powersave (and kpowersave) and get rid of the whole problem. :-)
Best, Joachim
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
-- Nick Jones University of Iowa Dept of Neurology Systems Analyst 319-356-0451 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
"NJ" == Nick Jones <nickjon@gmail.com> writes:
NJ> Sorry, I had discarded my reply and started another one and forgot to NJ> include the opensuse list (DOH!). No problem, may happen to all of us. Just let not start another one of the endless Reply-To threads. ;-) ;-) NJ> I will uninstall kpowersave, good idea. And powersave, too. (It contains the defective program.) kpowersave is just an obvious reverse dependency that apt told me about. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
The on_ac_power in the pm_utils package has a bug. https://bugzilla.novell.com/show_bug.cgi?id=221999#c9 I read this bug awhile ago but did not think it was the issue I was having (doh! again). I uninstalled powersaved and now cron seems to be running my daily job, although it didn't run any other scripts in cron.daily (MAX_DAILY ???). Not sure if it is MAX_DAILY because I do have the daily time set. I will uninstall pm-utils as well and see if the other scripts like logrotate get their utimes updated (is utime access time?). Thanks Nick On 5/9/07, Joachim Schrod <jschrod@acm.org> wrote:
"NJ" == Nick Jones <nickjon@gmail.com> writes:
NJ> Sorry, I had discarded my reply and started another one and forgot to NJ> include the opensuse list (DOH!).
No problem, may happen to all of us. Just let not start another one of the endless Reply-To threads. ;-) ;-)
NJ> I will uninstall kpowersave, good idea.
And powersave, too. (It contains the defective program.) kpowersave is just an obvious reverse dependency that apt told me about.
Joachim
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- Nick Jones University of Iowa Dept of Neurology Systems Analyst 319-356-0451 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Joachim Schrod
-
Nick Jones