Re: Logrotate Question | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
----- "Marcos Trazzini" <mstrazzini@xxxxxxxxx> wrote: > > This is the error I get. > > error: /etc/logrotate.d/test:6 bad olddir path "/opt/`date > +%Y/%m/%d`" > (...) > Humm... I'm not sure how exactly logrotate might deal with shell > escape sequences, specially if it expects sh-alike syntax (not > bash-alike). Why don't you try to change the "/opt/`date +%Y/%m/%d`" > to "/opt/$(date +%Y/%m/%d)" and see what happens? > > -- > Marcos S. Trazzini => mstrazzini@xxxxxxxxx > Thanks, but it got the same error. > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
[Home] [CentOS] [Kernel List] [Red Hat Install] [Centos] [PAM] [Fedora Users] [Red Hat Development] [Red Hat Enterprise Linux] [Red Hat 9] [Centos] [Big List of Linux Books] [Linux Admin] [Photo Sharing] [Hot Springs] [Gimp] [Asterisk PBX] [Yosemite News] [Red Hat Crash Utility]
![]() |