We have a problem running a cronjob. First we had set the logs in user /home/dir directory. We use to su the user and set cron. But for now we have changed the log location for a new partition in /opt/dir/dir and now we are not able to run. We are able to run the cron with root user. Also changed the permission of the log location.
Could anybody please suggest any permissions we need to change for the cron to work.