Hello
How to find the list of jobs (in UNIX) those have run today?
Suppose, there are 100 jobs in my project. Out off all the jobs 89 jobs have run today. How to get those list?
Thanks in advance
How to find the list of Jobs those have run today (in UNIX)
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard.
You need a simple script.
Step 1. dsjob -ljobs projectname
Step 2. Iterate through this list using dsjob -jobinfo projectname jobname to get the start/finish times. Compare these to current date and you have the desired solution.
You need a simple script.
Step 1. dsjob -ljobs projectname
Step 2. Iterate through this list using dsjob -jobinfo projectname jobname to get the start/finish times. Compare these to current date and you have the desired solution.
Last edited by ray.wurlod on Mon Feb 25, 2008 1:14 am, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Thanks for your reply.ray.wurlod wrote:Welcome aboard.
You need a simple script.
Step 1. dsjob -ljobs projectname
Step 2. Iterate through this list using dsjob -jobinfo projectname jobname to get the start/ ...
Yes, we can get the start ans end time of the job.
But I need only the list of the jobs those ran today(current day).
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Do consider purchasing premium membership which will let you see the entire posts of premium posters.
All of the revenue from premium memberships is devoted to the hosting and bandwidth charges incurred by DSXchange. So, by taking premium membership you are not only helping yourself, you are also helping to keep DSXchange alive.
All of the revenue from premium memberships is devoted to the hosting and bandwidth charges incurred by DSXchange. So, by taking premium membership you are not only helping yourself, you are also helping to keep DSXchange alive.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.