Search Results

Search: Posts Made By: everurs789
1,669
Posted By everurs789
cron entry
Hi,

I need some clarification on cron entries. I have a cron job like..

15 01 19 02 6 exec /usr/bin/test.ksh

and I have another cron entry added, which is

15 01 20 02 6 exec...
1,993
Posted By everurs789
Thanks, that works...
Thanks, that works...
1,993
Posted By everurs789
cron entry
Can someone please quickly respond to this?

I need to have a script test.sh to run every 30 minutes from Monday to Saturday from 6am to 10pm as a crontab entry...

Thanks.
4,180
Posted By everurs789
Sure..This works like a champ... Thanks a...
Sure..This works like a champ...

Thanks a lot for your help..

I think this will serve my purpose...
4,180
Posted By everurs789
I tried it again..Unfortunately, I am getting the...
I tried it again..Unfortunately, I am getting the email. :confused:

---------- Post updated at 04:41 PM ---------- Previous update was at 04:35 PM ----------

Oh, wait...I think something is...
4,180
Posted By everurs789
No, I am getting 0.
No, I am getting 0.
4,180
Posted By everurs789
No, it still not working. I am going to attach...
No, it still not working. I am going to attach the file and let you look in to this..my bottom line should be if any queue has curdepth more than 200 messages, I should get an email...
4,180
Posted By everurs789
Here is the output... SYSTEM.ADMIN.ACC.QUEUE...
Here is the output...

SYSTEM.ADMIN.ACC.QUEUE
SYSTEM.ADMIN.ACT.QUEUE
SYSTEM.ADMIN.CHANNEL.EVENT
SYSTEM.ADMIN.COMMAND.QUEUE
SYSTEM.ADMIN.LOGGER.EVENT
SYSTEM.ADMIN.PERFM.EVENT...
4,180
Posted By everurs789
By the way, I tried your command as well..but no...
By the way, I tried your command as well..but no luck..
awk -F'[()]' '/CURDEPTH/ && $4>200{exit 1}' test1.txt || mailx -s
I am guessing for some reason CURDEPTH(0) field is not acting properly.
4,180
Posted By everurs789
Yes, I did...here is what my script does...but...
Yes, I did...here is what my script does...but still no luck...
awk -F'[()]' '/CURDEPTH/ && $2>100{exit 1}' test1.txt || mailx -s "There may be a problem with QM" email address < test1.txt.
I am...
4,180
Posted By everurs789
I think we still have an issue and I just tried...
I think we still have an issue and I just tried it, it still doesn't work. I am getting an email still..

Can we use the combination of grep and awk on the text file and send an email only if any...
4,511
Posted By everurs789
the entry should be like this.. 00 10 * *...
the entry should be like this..

00 10 * * 1-5 your script
4,180
Posted By everurs789
Here is the output: TYPE(QLOCAL) ...
Here is the output:

TYPE(QLOCAL) CURDEPTH(0), QUEUE(SYSTEM.CHANNEL.INITQ) TYPE(QLOCAL)
TYPE(QLOCAL) CURDEPTH(29), ...
4,180
Posted By everurs789
Hi Scrutinizer, I am afraid that your...
Hi Scrutinizer,

I am afraid that your proposed code is not working...I have tried this...

awk -F'[()]' '/CURDEPTH/ && $2>200{exit 1}' test1.txt || mailx -s "There may be a problem with QM,...
4,180
Posted By everurs789
Thank you very much. I just need one more...
Thank you very much. I just need one more thing..If there is only one queue has more than 20 messages, how do I get notification with even queue name, for example..
"(TEST.REQ.Q) has about 20...
4,180
Posted By everurs789
Unix script help
Hi,

I need a unix script to look at a "test1.txt" and the txt file will look like this...
QUEUE(QM1.DEAD.LETTER.QUEUE) TYPE(QLOCAL)
CURDEPTH(0)
QUEUE(TEST.REQ.Q) ...
4,659
Posted By everurs789
I guess that helps.. Thanks DG!!
I guess that helps..

Thanks DG!!
4,659
Posted By everurs789
since command
Hi,

Can anyone please help me how to get the "since" command working in aix? It seems that it doesn't come by default...
Do I have to download specific binaries for this to make it work in aix?...
1,289
Posted By everurs789
Script help
Hi,

Actually I am looking for a script. I need to create a process which has to copy 5 files like file1, file2, file3, file4, file5 from staging server to prod server.
the challenge I have is the...
4,659
Posted By everurs789
Well, I got it work using wget..Thanks for your...
Well, I got it work using wget..Thanks for your suggestions..
4,659
Posted By everurs789
Now, I am getting request time out error. ...
Now, I am getting request time out error.

GET /TestApp HTTP/1.1
HTTP/1.1 408 Request Timeout
Connection: Close
Content-Length: 0
4,659
Posted By everurs789
http error on unix command..
Hi,

I am trying to hit an application which is listening on a specific port 2030 and is behind the firewall and get this error.

maddy>telnet adrpd011 2030

GET /TestApp

and it should give...
1,377
Posted By everurs789
Need a script
Hi,

I have a java process which runs as user id "cayman" and I need a small script to monitor this process every 10 min (starting from 2:30am to 1am everyday to check if it is running or not and...
Forum: AIX 10-12-2008
2,380
Posted By everurs789
I can't give access to unixusr id. I think there...
I can't give access to unixusr id. I think there is a way to do this using sudo. But not sure exactly how to do that.
Forum: AIX 10-12-2008
2,380
Posted By everurs789
AIX question..
Hi,

There is a script runs as a specific user called "unixusr". But we don't want to give the access to the other teams to run as that id as that id owns lot of system binaries and libraries in...
Showing results 1 to 25 of 32

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