Bug#478904: cron script for apt needs improvement
Hi,
On Sat, May 03, 2008 at 02:50:06PM -0300, Otavio Salvador wrote:
<...>
> > Question 1:
> >
> > Where should message go? stdout or stderr? As I inhereted, there seems
> > to be no consistency.
> > * debug message when turned on.
> > * error message from commands
> > * error mesage from script
>
> stderr I guess. What your opinion about it?
as I checked cron manpage, this should be good since it is *any* output.
| cron ... When executing commands, any output is mailed to the owner of the
| crontab (or to the user named in the MAILTO environ‐ ment variable in the
| crontab, if such exists). The children copies of cron running these processes
| have their name coerced to uppercase, as will be seen in the syslog and ps
| output.
> > Question 2:
>
> We'd need to support backward compatibility but it doesn't need to be
> done quietly. We might output a warning to let user to know that he
> needs to change his/her configuration for the new variables and at
> Lenny+2 we can drop it.
OK.
> > * Switch variable names but support old ones for compatibility.
That is easy.
Osamu
Reply to: