[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#454989: add error messages to cron script



When a program returns code 1 to stderr, that is the standard error. For example, if you were to ask someone, "Did it work?" the standard response for failure is, "No."
 
Think of the standard input/output stream as a system comprised of three components:
 
stdin = "What went in";
stdout = "What went out";
stderr = "What went wrong";
 
cout << "Here's looking at you, kid";

return 0;
 
On 12/8/07, jidanni@jidanni.org <jidanni@jidanni.org> wrote:
Package: apt
Version: 0.7.9
Severity: minor
File: /etc/cron.daily/apt

>>>>> "A" == Anacron  < root@jidanni.org> writes:

A> run-parts: /etc/cron.daily/apt exited with return code 1

Please have the program send a error message to stderr as to what was
bothering it.



--
To UNSUBSCRIBE, email to deity-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: