Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Steve Stoddard <sstod@midwest.net>
Subject: crontab: how to put date in archive filename?
Date: 1999/09/26	[thread overview]
Message-ID: <37EE90F5.C36D7B6A@midwest.net> (raw)

I want to use a crontab command to write daily archives to files having
the dates embedded in the filenames.  A FAQ showed me how create such
files at the command prompt, as for example, 'touch home.total.`date
'+%m_%d_%y'`.pax' creates the file 'home.total.09_26_99.pax'.  I cannot
get this same command to work in a crontab.  The crontab itself is OK,
because 'touch filename' works.  What am I doing wrong?  I'm running
Tru64 UNIX 4.0E.  Thanks!

Steve Stoddard




             reply	other threads:[~1999-09-26  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-26  4:00 Steve Stoddard [this message]
1999-09-27  4:00 ` crontab: how to put date in archive filename? Paul A Sand
1999-09-27  4:00 ` Emile van Bergen
1999-09-28  4:00 ` Steve Stoddard
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox