I'm executing my script from web interface as well as a cron job. I'm using Zend_Log
for logging and the log file is daily rotating (mylog_YYYY-MM-DD.log
). If I execute my script from web in the day start, then my cron job is failing due to log file permission problem.
I'm ok with provide 666
permissions to my log file. How can I apply the permissions using Zend_Log
.
Thanks in advane. -Venkat