Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] glsa-check cron question
Date: Mon, 05 Dec 2005 15:22:24
Message-Id: 20051205150527.7d7d9677@hactar.digimed.co.uk
In Reply to: [gentoo-user] glsa-check cron question by Andres Becerra Sandoval
1 On Mon, 5 Dec 2005 15:39:00 +0100, Andres Becerra Sandoval wrote:
2
3 > What I want to do is to generate this file everyday with a crontab
4 > entry like this:
5 >
6 > 45 6 * * * /usr/bin/glsa-check -l new > /tmp/`date +%F`.glsa
7 >
8 > The problem is that this is not working, it works in the shell, but it
9 > doesn't works from cron. If anybody can enlight me, I would appreciate
10 > it.
11
12 It is probably the redirection screwing things up, but you don't need it
13 with cron. As long as you have cron configured to mail its output to you,
14 you only need
15
16 45 6 * * * /usr/bin/glsa-check -l new
17
18 or, as I prefer to only see the effects on installed packages
19
20 45 6 * * * /usr/bin/glsa-check -t all
21
22
23 --
24 Neil Bothwick
25
26 When there's a will, I want to be in it.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] glsa-check cron question Andres Becerra Sandoval <andres.becerra@×××××.com>