tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: crontab - creating a log file
@ 2004-02-11 13:52 Guilherme Teixeira de Araujo
  0 siblings, 0 replies; only message in thread
From: Guilherme Teixeira de Araujo @ 2004-02-11 13:52 UTC (permalink / raw)


	Hi

	Thanks to: Paul A Sand
		     Lucio Chiappetti 

	It is necessary to include "\" before "%"

    ... salva01.dump.log.`date +\%b`.`date +\%d`

	thanks
	Guilherme



Original question:


	Hi managers

	I included in the crontab the following line:

00 18 * * * /util/scripts/backup/salva01.dump  >
/util/scripts/backup/log/salva01.dump.log.`date +%b`.`date +%d`

	But when the script was executed it did not create the log file with
the Month.Day in the end of the file name.

-rw-r--r--   1 root     dba            4 Feb 11 09:13
/util/scripts/backup/log/salva01.dump.log.

	
	Your help will be greatly appreciated

	Guilherme
	


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-11 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-11 13:52 SUMMARY: crontab - creating a log file Guilherme Teixeira de Araujo

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