The Ecasound project someone else did with a USB-controlled radio, used the date function in just the same way your script does it. I'll have to add that one in to the command, then figure out this "at" thingy.
Incidentally, what is the command for viewing the list of "at" jobs pending? Obviously in cron you've already created a list using crontab which you can view with crontab as well, but I have never used the "at" command and don't know how it works.
It does sound like "at" is the thing to use for these occasional recordings. Since "A Prairie Home Companion" sometimes repeats itself, its not always something I would want to record weekly.
--- Jon Pruente jdpruente@gmail.com wrote:
I use the 'date' command under FreeBSD & csh to have unique daily wardriving logs:
sudo dstumbler wi0 -m 60 -l ~/ds.log.`date +%Y%m%d` -g /dev/cuaa0 -s
Note the use of ` and not ' as the quote charater for the embedded command. I'm not positive of the use under your sheel of choice, but this gives me logs with names like ds.log.20050228 so they sort by date very well.
Jon
On Apr 3, 2005 9:59 AM, Leo Mauler webgiant@yahoo.com wrote:
I'm still working out the MP3 tag commands in
LAME, as
well as scripting the whole thing into using
unique
filenames so I could leave it for two weeks
without
overwriting the first week's recording.
__________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com