Hi

Sorry for late reply but I think I understand what is wrong now.

I checked the code and could not find the reason why it would go wrong. So
I had a look at your first mail and I see that you have placed this data in
the wrong file.

You have placed it in /etc/cron-apt/config.d/config
This file is only triggered for an action named "config".

This is documented in the README file.

----
It is also possible to add extra configuration for each action (same syntax
as
/etc/cron-apt/config) by naming the file
/etc/cron-apt/config.d/<actionname>.
The configuration from one action is kept to the next action as well.
----

You need to put it in /etc/cron-apt/config instead.

I'm closing this bug now.

Best regards,

// Ola

On Fri, Aug 28, 2015 at 9:56 AM, Pelmato <ctt-report...@zygalio.net> wrote:

> Yes, that's it!
>
> A few days ago, I tryed to change the 0-update to be more verbose
> (quiet=1). But I haven't received anything.
>
> Moreover, I thought that MAILON can have "output" or "always" as value.
> When configured with "always" I should get an email even if no output was
> generated.
>
>
>
> Le 2015-08-27 22:35, Ola Lundqvist a écrit :
>
> Hi
>
> Only if something is actually upgraded. But you say that you only get it
> at failures, or?
>
> // Ola
>
> On Thu, Aug 20, 2015 at 11:08 AM, Pelmato <ctt-report...@zygalio.net>
> wrote:
>
>> I have the 3 following files in action.d:
>>
>> /etc/cron-apt/action.d/0-update:
>> #############################
>> update -o quiet=2
>> #############################
>>
>> /etc/cron-apt/action.d/3-download:
>> #############################
>> autoclean -y
>> dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
>> #############################
>>
>> /etc/cron-apt/action.d/5-install:
>> #############################
>> dist-upgrade -y -o APT::Get::Show-Upgraded=true
>> #############################
>>
>> The 0-updates file indeed use the "quiet=2" and apt doesn't print
>> anything (which is fine). But for the 2 other files apt should output
>> something. Shouldn't it?
>>
>
>



-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
/  o...@inguza.com                    Annebergsslingan 37        \
|  o...@debian.org                   654 65 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------

Reply via email to