Search Results

Search: Posts Made By: samfrance
4,475
Posted By samfrance
Thanks Bakunin..... I have my Script file in...
Thanks Bakunin.....

I have my Script file in tmp folder. I have added the line in the cron file as

5 * * * * /tmp/cache.sh

its not working....what i have to do if i run this script in every...
4,475
Posted By samfrance
I tried using this commands... export...
I tried using this commands...

export EDITOR=vi

crontab -e


5 * * * * sh cache.sh

then exit from vi editor with :wq.

will it work or i have to give full path of cache.sh ????
wil it...
4,475
Posted By samfrance
Actually i am very new to UNIX.... I could not...
Actually i am very new to UNIX....
I could not get correct way to run a script using CRON.
plz help me.

Regards,
Sam.
4,475
Posted By samfrance
Thanks a lot friends... its working fine...
Thanks a lot friends...

its working fine now....

i need one more help friends....

HOW TO RUN THIS SCRIPT FROM CRON....i want this script once in a week.

please help.

Regards,
Sam.
4,475
Posted By samfrance
Hi shihba, thank u str=`df -k | grep...
Hi shihba,

thank u

str=`df -k | grep /usr/local` is working fine.

but the next line
strlen=${#str} is giving error that "bad substitution".
please help me in this...

Regards,
Sam.
4,475
Posted By samfrance
Problem in Running Script
Hi friends,

i have written one small script named as "size.sh".....
while running its giving

syntax error at line no 2: 'str=$' unexpected.

How to run this file ??? please help me.

file...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 10:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy