Gentoo Archives: gentoo-user

From: Andres Becerra Sandoval <andres.becerra@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] glsa-check cron question
Date: Mon, 05 Dec 2005 14:48:27
Message-Id: 221c6fc80512050639w27404153u38859e85dfebf9ea@mail.gmail.com
1 Hi,
2
3 I use often the great tool glsa-check in this way:
4
5 /usr/bin/glsa-check -l new > /tmp/`date +%F`.glsa
6
7 To produce a file which I could read or mail, to check for
8 vulnerabilities in a machine.
9
10 What I want to do is to generate this file everyday with a crontab
11 entry like this:
12
13 45 6 * * * /usr/bin/glsa-check -l new > /tmp/`date +%F`.glsa
14
15 The problem is that this is not working, it works in the shell, but it
16 doesn't works from cron. If anybody can enlight me, I would appreciate
17 it.
18
19 --
20 Andres
21
22 --
23 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] glsa-check cron question Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] glsa-check cron question "Kurt V. Hindenburg" <ml@×××××××××××××××.name>