Re: Cron run-parts /etc/cron.weekly
- To: Debian User Mailing List <firstname.lastname@example.org>
- Subject: Re: Cron run-parts /etc/cron.weekly
- From: "Damir J. Naden" <email@example.com>
- Date: Tue, 10 Mar 1998 22:30:47 +0000
- Message-id: <19980310223047.14208@camelot>
- Mail-followup-to: Debian User Mailing List <firstname.lastname@example.org>
- In-reply-to: <3503D42B.C9AF1734@ulg.ac.be>; from Alain Nissen on Mon, Mar 09, 1998 at 12:36:11PM +0100
- References: <Pine.LNX.3.96.980308234511.21068Aemail@example.com> <3503D42B.C9AF1734@ulg.ac.be>
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 .