Re: Query

From: <vince4friend-root_at_yahoo.com>
Date: Mon, 4 Sep 2006 06:26:59 -0700 (PDT)


Hi Satya,

That's good news then.
About the lines added to the crontab: looks good to me except the LOGNAME. It isn't supposed to be overriden. This variable is forced to the your user name anyway. I'd guess it does not change anything since it is set to the same value: that's just one of the crontab rules on some systems.

Hope this helps - Vince

Hi,

 Many thanks for the suggesion.
>>the cron job will work as a superuser,

 I am running cronjob in my user only. I already mensioned that  the script is working well without cronjob.  

>>Remove the "-f"
 

 I think you are right I removed it from my script line.  

 Well I should menssion that in the trial method I added lines like  in the crontab as:   

SHELL=/bin/bash
 ROOTSYS=/home/xsatya/.root
 LD_LIBRARY_PATH=/home/xsatya/.root/lib
 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/home/xsatya/.root/bin  MAILTO=""
 HOME=/home/xsatya
 LOGNAME=xsatya  

 and fortunately this works as I was needed.  

here my root directory is .root and at the same time I don't have  permission to access as supper user. Kindly suggest me if I am  wrong by add above line in crontab, because I don't know more  in cron mechanism.

-- 
---------------
Satya
Research Student,
High Energy Physics, India.
Received on Mon Sep 04 2006 - 15:27:13 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET