Posts: 3
	Threads: 1
	Joined: Mar 2005
	
Reputation: 
0
	 
	
	
		
Hi @ll,
 
need help in scripting.
 
I want to start every our a ipcs -a command and the output shall be stored in a sema.txt file. After every hourly command a new txt file should be created.
 
Where can i learn this ???
 
Cu,
 
Sniffy
	
	
	
	
	
 
 
	
	
	
		
	Posts: 3,631
	Threads: 899
	Joined: Dec 2003
	
Reputation: 
0
	 
	
	
		
a cron job will help you here
 
be more specific as to exactly what you want the script to do
 
cheers
 
anyweb
	
	
	
	
	
 
 
	
	
	
		
	Posts: 3
	Threads: 1
	Joined: Mar 2005
	
Reputation: 
0
	 
	
	
		
any help ???
a script would be better i think!
 
cu,
 
sniffy
	
	
	
	
	
 
 
	
	
	
		
	Posts: 3
	Threads: 1
	Joined: Mar 2005
	
Reputation: 
0
	 
	
		
		
		2005-03-07, 12:37 PM 
(This post was last modified: 2005-03-07, 12:38 PM by sniffy.)
		
	 
	
		
i solved it myself !
 
Here the solution:
 
#!/bin/sh
# sema-script
ipcs -s > sema.txt
 
 
The time this script is executed can you make with cron ! 
 
Cu,
 
sniffy