crontab - creating a log file

From: Guilherme Teixeira de Araujo <garaujo_at_usiminas.com.br>
Date: Wed, 11 Feb 2004 09:24:23 -0300

        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
        
Received on Wed Feb 11 2004 - 11:38:39 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT