Re: Query

From: Satya J <xsatya_at_gmail.com>
Date: Mon, 4 Sep 2006 13:29:00 +0530


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 - 09:59:11 MEST

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