Search Results

Search: Posts Made By: azherkn3
1,193
Posted By azherkn3
Crona : if i give value like that in If -> its...
Crona : if i give value like that in If -> its giving me a error like Integer Exression xpected..

Don : still If is getting failed
1,193
Posted By azherkn3
Reading and Comparing values of file
Hi gurus..

Am reading a file, counting number of lines and storing it in a variable. Then am passing that variable into If loop for comparision, if the number of lines are greater than 1000 it...
1,795
Posted By azherkn3
No Akshay that didnt worked :( i got same output...
No Akshay that didnt worked :( i got same output as file_02_05_2014.". :(
1,795
Posted By azherkn3
Hi guys am trying to download a file from server,...
Hi guys am trying to download a file from server, wen i give the file name to download as file.csv , curr date should get appended to that, i tried with the previous code itself but am getting some...
975
Posted By azherkn3
for every 2 minutes in a day zaxxon
for every 2 minutes in a day zaxxon
975
Posted By azherkn3
tat was awesome zaxxon thanks
tat was awesome zaxxon thanks
975
Posted By azherkn3
Coding the cron
how to write a cron that runs for every 2 minute

* * * * * emp.sh


but it is executing for every minutes. how can i make it to run for only 10 times for in a day
1,960
Posted By azherkn3
thanks
thanks
1,960
Posted By azherkn3
thanks
thanks
5,368
Posted By azherkn3
Hi guys, I have a requirement where i need...
Hi guys,

I have a requirement where i need to split a .csv file into multiple files.
Say for example i have data.csv file and i have splitted that into multiple files based on some conditions...
1,960
Posted By azherkn3
bourne shell clx removing let and using the...
bourne shell clx
removing let and using the code you mentioned is not working clx

when i removed and checked it displaying as only its not incrementing each time the cron is executing what...
8,085
Posted By azherkn3
Split a .csv File into Multiple Files
Hi guys,

I have a requirement where i need to split a .csv file into multiple files.
Say for example i have data.csv file and i have splitted that into multiple files based on some conditions...
1,960
Posted By azherkn3
yup it works fine thanks guys but the...
yup it works fine thanks guys

but the problem here is my a.log file doe not increment the counter every time the cron is executing what might be the reason
1,960
Posted By azherkn3
the file exists but it is tellling unable to read...
the file exists but it is tellling unable to read
1=1000 i am spliting it 1000 times
if u see

split $1 samp.csv
1,960
Posted By azherkn3
Run script
when it runs and look at my acron.log file it generates an error as below
/tmp/prog.sh: line 4: [1: command not found
/tmp/prog.sh: line 7: 1=1: command not found
head: cannot open `samp.csv' for...
2,433
Posted By azherkn3
i wrote tis code in my script! can u tell me...
i wrote tis code in my script!
can u tell me what does this pid= do in the code
2,433
Posted By azherkn3
say i am executing my script using cron for every...
say i am executing my script using cron for every minutes
i need to find the pid of it and kill it at some point in time..
this is my requirement
2,433
Posted By azherkn3
Find the Pid and Kill the Process after a Few Minutes
hi guys
i had written a shell script Display Information of all the File Systems
i want to find the pid and kill the process after few minutes.how can i obtain the pid and kill it???

sample.sh...
1,214
Posted By azherkn3
how can the same be done in cron ??any...
how can the same be done in cron ??any suggestion!

how about writing in my script to check the count and just execute my cron
1,214
Posted By azherkn3
ok is it possible to stop my cron after...
ok is it possible to stop my cron after exectuting for every 20 min for only
1,214
Posted By azherkn3
To ask for user intervention
hi guys
i want my cron to execute for every minute
1,398
Posted By azherkn3
To stop execution in cron
hi guys
i have a question
my cron should start executing minute but it sould stop execute only i have tried tis
[CODE]10 * * * * /home/sample.sh >>
/data/band/cron_$(date+|%Y|m|d).log
1,795
Posted By azherkn3
thanks guys it worked :)
thanks guys it worked :)
1,795
Posted By azherkn3
Renaming the file
Hi guys,

I have written a code to move my file from one directory to another directory, the file is in .csv format and i need to append a current date to the file. the prolem is date is getting...
5,368
Posted By azherkn3
First file having 100 records and last file...
First file having 100 records and last file having 33 and rest will have 1000 records each
Showing results 1 to 25 of 34

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