The log file could then possibly be /var/log/cron.log -srini
On 6/6/07, santosh kumar <[EMAIL PROTECTED]> wrote: > > Hi , > > 1) run the mail command from the root user as i see you are setting it for > the root user. > 2) you will get some mails. > > 1) At what time or for how many times you need the to run the crron. > 2) * * * * * /root/list_of_files.sh is not set to any time so will not > run. > try this > > 1) * */1 * * * /root/list_of_files.sh | wall , check with this and see if > you are getting any output. > > thanks. > > On 6/6/07, mathewcos < [EMAIL PROTECTED] <mathewcos%40yahoo.com>> wrote: > > > > --- In [email protected] > > <ilughyd%40yahoogroups.com><ilughyd%40yahoogro > ups.com>, Rajiv > > <[EMAIL PROTECTED]> wrote: > > > > > > mathewcos wrote on 06/06/07 at 11:26:58 -0000: > > > >> > > > > >> > * * * * * /root/list_of_files.sh > > > >> > > > > >> > -------------------- > > > >> > > > >> the cron job is scheduled to run every minute...!? > > > >> Is that what is needed ? > > > >> > > > >> > > > > >> > Contents of list of files > > > >> > ========= > > > >> > ls -l >listfiles > > > <snip> > > > > > > > > But I am not able to see any other mails once the cron job is > > > >executed? Please help me to solve this. > > > > > > you'll get email if there is something in stdout/error. crond logs > > will be in > > > /var/log/cron or /var/log/messages depending on where syslog is > > writing to. > > > Check your syslog.conf for the exact file > > > > > > > > > -rajiv > > > > > Hi, > > > > I checked syslog.conf . It is in '/var/log/cron' > > But I am not able to see any cron file in '/var/log/cron' > > > > Regards, > > Mathew > > > > > > > > -- > D. Santosh Kumar > RedHat Certified Engineer > ph:9866501988 > [EMAIL PROTECTED] <Email-Rhce.san%40gmail.com> > > Success does not come to you, you got to get it. > > [Non-text portions of this message have been removed] > > > -- ~Regards Srinivas [Non-text portions of this message have been removed]
