Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

aureport and scripting -ts and -te?



On Fri, Feb 18, 2011 at 05:23:20AM -0500, Scott Ehrlich wrote:
> I want to automate auditing scripts using aureport and would like to
> have a cron job place the results of aureport incorporating -ts and
> -te into a text file.   But how do I set up the dates (say each day or
> for a week) in cron to pass to -ts and -te?
> 
> I might want aureport --summary -ts 02/11/2011 -te 02/18/2011 > summary.txt
> 
> Now, how to convert 02/11/2011 and 02/18/2011 to a variable format for
> daily or weekly or any other period of time for cron?

date, with -d and + parameters.

-dsr-





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org