This discussion is archived
3 Replies Latest reply: Sep 27, 2012 2:49 AM by Dude! RSS

cron --- log files are not generating

Ani Newbie
Currently Being Moderated

when i am running this command manually it is working fine . but when i put it in cron there is no logfile generation under /date_export/res_logs/
from cron.log i can see that it is running in cron but files are not generating.....may be my date format is incorrect
....please help me

/usr/local/bin/dcli -l root -g /root/mycell "tail -n1000 /opt/oracle.oswatcher/osw/archive/...........l'|awk '{print $1,$2,$8}' |tee /date_export/res_logs/log.`date +%d%m.%T`



  • Correct Answers - 10 points
  • Helpful Answers - 5 points