Xymon Mailing List Archive search

(no subject)

list Jeremy Laidman
Sat, 15 Mar 2014 09:38:06 +1100
Message-Id: <CAAnki7Acszh2Uecqhzfhi-bx=m04raLEgjV1N4EP2sJVO9Jr=user-380b5fa67d92@xymon.invalid>

On 10 March 2014 09:38, Colin Coe <user-5b250cd7a540@xymon.invalid> wrote:
file:`ls -ltr /home/enmac/customer-data/CUST9100REP*CSV | tail -n 1`
Xymon requires that the filename is produced by the backticks.  You're
having it produce more than the filename because you have the "-l" switch
for the "ls" command.  Try:

file:`ls -tr /home/enmac/customer-data/CUST9100REP*CSV | tail -n 1`

J