Re: Cron run-parts /etc/cron.weekly
Hi Alain Nissen; unless Mutt is confused, you wrote:
> Brandon Mitchell wrote:
> > > run-parts: /etc/cron.weekly/lpr exited with return code 1
> > Running by hand causes no problems. Then I piped the output to mail, and
> > when it arrives, the lpd restart only echos a ".". Any ideas? This is a
> > relatively up to date hamm system.
> > dpkg -l lpr:
> > ii lpr 5.9-23 BSD lpr/lpd line printer spooling system
> I have exactly the same problem, with the same relase of lpr package. I
> investigated but I never found the cause of the exit code '1'.
> E-mail the word "unsubscribe" to firstname.lastname@example.org
> TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to email@example.com .
I think the problem is in the /etc/cron.weekly/lpr file; and more to the point
in the last line that read :
/etc/init.d/lpd restart >/dev/null
^^^^^^^^^^ I have manually edited this file, removed
the underlined part and, voila, the thing seems to be working...
E-mail the word "unsubscribe" to firstname.lastname@example.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to email@example.com .