It is currently 12 Dec 2018 6:01


Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 20 Nov 2010 2:56 
Offline
Nouveau
Nouveau
User avatar

Joined: 08 Aug 2010 12:00
Posts: 53
The below all the log after running job

Image

And the blowe ios script for control-m server
Image

how can me deleted after 1 day from run it ? or how can change control-m script and how ca get this script?

becouse this is very bad , and my folder is full of logs

can you help me about this issue [/img]


Top
   
 Post subject:
PostPosted: 22 Nov 2010 4:44 
Offline
Nouveau
Nouveau
User avatar

Joined: 08 Jun 2007 12:00
Posts: 1148
Location: Ile de France
Hi,
In a scripts :
use the followig on the control-m server
#!/bin/ksh
ctm_agstat -LIST "*" | grep "Available" | awk '{print $2}' > /tmp/$$$
cat /tmp/$$$ | while read line
do
ctmagcln -agent "$line" -days 1
done
rm -f /tmp/$$$

Regards,
Philmalmaison


Top
   
 Post subject:
PostPosted: 23 Nov 2010 9:14 
Offline
Nouveau
Nouveau
User avatar

Joined: 08 Aug 2010 12:00
Posts: 53
How can use ? can you tel me one by one ? Please :(


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved