Search Results

Search: Posts Made By: cratercrabs
959
Posted By cratercrabs
Searching for files and sending mail
Hi,

I want a script that can perform the following tasks,

1)Open command prompt and navigate to certain path (for eg: C:\Programs\) and then execute the below command on a daily basis,

list...
2,757
Posted By cratercrabs
Hi Lem, Thanks for your reply,We use Solaris...
Hi Lem,

Thanks for your reply,We use Solaris and ksh.

My doubt is how to parse in real time. There is no script existing that creates this log, there is a Windows component whose logs are...
2,757
Posted By cratercrabs
Trigger functionality in Unix
Hi,

I want a script , which searches the log for the term/phrase "JFSnapshotService::systemSnapshot: Starting data capture. This may take awhile depending upon system workload." and if there is...
5,637
Posted By cratercrabs
I had modified your first part., $ for f in $(...
I had modified your first part.,
$ for f in $( ls #path of folder);do
awk '/^#EOF/ { if($NF != (NR-2)) exit 1 }' f || echo " &f Filename has wrong number of records"
done

Can you please...
5,637
Posted By cratercrabs
Thanks Corona, can we include this inside some...
Thanks Corona, can we include this inside some loop ., to test it for all files in the folder in one shot., and the output is directed to a log which has the details saying the particular file name...
5,637
Posted By cratercrabs
Validating the record count
Hi ,

I am having a text file with several records., it has a header record and trailer record. The header record has the number of rows (records) found in the text file and time-stamp. The footer...
2,769
Posted By cratercrabs
Hi
I have run this code,
nMaxRunTime=180
intCount = 0
strProcessKill = "'notepad.exe'"
Set WshShell = WScript.CreateObject("WScript.Shell")

Set colProcesses = GetObject("winmgmts:" &...
2,769
Posted By cratercrabs
Kill a process
Hi,

How can I terminate process using vbscript. PLEASE NOTE, I need to terminate process that runs under windows 64-bit environment as native 64 (not using select * from win_32_Process)
3,897
Posted By cratercrabs
Thanks a lot !!! It worked perfectly :) ...
Thanks a lot !!! It worked perfectly :)

---------- Post updated 10-24-11 at 12:17 AM ---------- Previous update was 10-23-11 at 11:13 PM ----------

Hi Peasant,
I got a problem with the...
3,897
Posted By cratercrabs
Check File availability
Hi,
I have a task to write a script , which will run everyday to check whether my system has received 2 files from source system. It should mail me ( using mailx preferably ) if the files has...
886
Posted By cratercrabs
error in retrieving records from DB
Hi .,
I have 3 records in a oracle table... wen i connect to oracle from unix environment and query the table i get some errors...

the script i used is

g=`sqlplus -s "username/password"...
2,665
Posted By cratercrabs
Hi ., I m struck here., cud u plz help... ...
Hi .,
I m struck here., cud u plz help...
I have changed some logic in this system., I have loaded my .csv file in another table and now comparing the two tables and fetching the mail id in...
2,665
Posted By cratercrabs
Hi , I am in the last part of this ., can...
Hi ,
I am in the last part of this ., can anyone please help me how to send a mail to the group of mail ids got in the variable 'e'...
mail -s "Hello" e., is it right????
2,067
Posted By cratercrabs
Hi, You can install cygwin in your windows box
Hi,
You can install cygwin in your windows box
2,938
Posted By cratercrabs
I would be grateful if i get replies here... !!...
I would be grateful if i get replies here... !! Since i was not clear with my question last time..
2,665
Posted By cratercrabs
Thanks for the template but my scenario is that ...
Thanks for the template but my scenario is that validation needs to be done not only for "Date" part but also for the "name" part since there can be more than one person in a shift.. so there should...
2,938
Posted By cratercrabs
script to send mail !!
Hi Experts..

i have created a table with the fields,
empid name mailid
1 raja raja@xy.com
and entered the values of all persons who are in that file...

i have a .csv file
date shift1 shift2...
2,665
Posted By cratercrabs
Hi Panyam., Ya, u r partly right .,...
Hi Panyam.,
Ya, u r partly right ., validation needs to be done not only for "Date" part but also for the "name" part since there can be more than one person in a shift.. so there should be...
2,665
Posted By cratercrabs
i have created a table with the fields, empid ...
i have created a table with the fields,
empid name mailid
1 raja raja@xy.com
and entered the values of all persons who are in that file...

Now i want a script that...
2,665
Posted By cratercrabs
input file looks like this Date ...
input file looks like this
Date Shift1_name Shift2_name Shift3_name
16/6/11 raja ramu somu
.....

i want a script that could read the name and send a...
2,665
Posted By cratercrabs
Shift reminder system
Hi,
Help me with a script which can read shift related data(in .csv file) and send a mail to the user reminding them about the shift.. Already there is a table with empid,name,mailid) need to...
Showing results 1 to 21 of 21

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