Hi
I was trying to find out the reason because in my another box it
worked fine. Thanks for info and yes carriage return is missing in my
other cron
sangunni
On Thu, 12 Apr 2001, L.V.Gandhi wrote:
> I found out my mistake. I didn't use carriage return at the end of line.
> That made cron inactive. Now it works. You make a script file with the
> command
> cp /home/sangu/* /usr2/
> and make it executable with chmod +x [filename]
> then with crontab -e as user, put
> * 2 * * * [full path of the file name]
> When i say full path it is something like
> /home/sangu/******
> Dr.K.S.Sangunni wrote:
>
> > Dear Gandhi
> > I encounter the same problem. Though crontab -l shows that the cron
> > active, it never worked. I have done the following
> > crontab -e
> > * 2* * * cp /home/sangu/* /usr2/
> > and stored it. I expect every day at 2 am this cron to copy to /usr2
> > location. I have privileges for this. Any help?
> >
> > Can I create a file- copy.cron in /etc/cron.daily directory which has the
> > above job?
> > sangunni
> >
>
>
>
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help