sh: date: not found

hi,
i have a cronjob sending output to:
test.log_`date +\%Y\%m\%d\%H\%M`

however, output generated out is test.log_ (without the date & time in the log filename)

it works correctly for the 1st few months, but become as such now. :confused:
i couldn't figure out what's wrong.

any feedback & assistance is appreciated.
Thanks in advanced.

Something changed and now the date command is not in the path. Try giving full location of date command (use "which date" to find it), e.g.

test.log_`/usr/bin/date +\%Y\%m\%d\%H\%M`

Thank a lot, thestevew.
it works. :smiley: