Dear Sandeep,

To execute try give the following line in crontab:

30 * * * *  /home/vipine/try

BTW, have you tried executing try as standalone?


Regards,
Sanvir Jham



Sandeep Vasishta wrote:

> Dear all,
>               I want to run a set of commands periodically from cron. I have
> made file try and put the commands there. Then from crontab -e command, I
> have set that these commands should be run every 30 minutes. But it is not
> running the commands. If I give command in crontab -e, then it is working
> fine. There are around 12 commands and that is why I want to put the
> commands in the file.
>
> This is what I did:
>
> vi try
>
> cd /home/vipin
> mkdir vipin
> cp vipin try_cron
>
> and I have made try file executable.
>
> crontab -e
>
> 30 * * * * cd /home/vipine; ./try
>
> Pls. let me know if some one has tried this.
>
> Regds,
> Sandeep
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>           ================================================
> To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
> To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
>header
> Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
>           =================================================

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sanvir Singh Jham
Velocient Technologies Limited, New Delhi
Tel: 694 5226/7/8 Fax: 694 3732
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Registered Linux User #163808 at http://counter.li.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         Just Believe in the Best



          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to