Re: Please participate in popularity-contest
Helmut Wollmersdorfer <helmut.wollmersdorfer@gmx.at> writes:
> Graham Wilson wrote:
>> On Tue, Jul 26, 2005 at 03:12:10PM +0200, Goswin von Brederlow wrote:
>
>>>There might eb
>>>cases where it harms but those should be the minority.
>
>> Seems to make sense. Are there any cases where having anacron installed
>> by default would mess something up?
>
> I would not like to have it on 7/24 servers. There could be problems
> after longer power outages in combination with weak scripts (which use
> dates as file names). But this "should be the minority". And such
> logic will even have problems without anacron.
>
> Helmut Wollmersdorfer
How will that be a problem? They will run once at (shortly after)
bootup and end up with a slightly wrong date in the filename.
If you only include the week in the name a simple if [ -e log.$WEEK ];
then exit 1; fi will protect against running twice in one week. If
overwriting the log on the next scheduled run is a problem use that.
Certainly no debian package should be vulnerable to this.
MfG
Goswin
Reply to: