Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unix Scripts ?
#1

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

Reply
#2

a cron job will help you here

 

be more specific as to exactly what you want the script to do

 

cheers

 

anyweb

Reply
#3

any help ???

a script would be better i think!

 

cu,

 

sniffy

Reply
#4

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

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)