Hello,
I have a script on solaris 8 that restarts the cron every night.
This is by just doing
/etc/init.d/cron stop
/etc/init.d/cron start
Now i also need to make this script more intelligent to let it check the OS version of solaris.
In case of solaris 10 it needs to do
scvadm cron restart...
Hi,
We are planning to upgrade our solaris 8 machines to solaris 10.
We have one server being nis master running solaris 8. My question. Is Solaris 8 able to nis master a solaris 10 client temporarely, or should i do it the other way around making sure the nis master goes to solaris 10 first?
I...
Hiya!
It has been a while since i was here, but found this forum again. Again got some great tips.
I have a few machines where i want to measure cpu, memory and network load. Ofcourse i dont want to login every 5 minutes to do top or so ;)
I thought about using a snmp agent to do this, but i...
Hi,
I have a script which generates a file every day. This file looks like this 20040123.txt (date).
How do i get my mail command in this way that it always picks todays file?
Regards,
Jeroen
Hi,
I kind of forgot how to delete files older then for example 5days, as im trying to create a script that will delete old log files. I thought it was used with -mtime or something?
thanks.
Hello,
I have like 40 scripts that generates emails to users in our company. The thing is that i want to ask every seperate user who recieves a typical email if he/she still wants to receive this email.
I was thinking if it was possible to add some sort of a signature in sendmail. In this way i...
Hiya ;)
I got the following.
I am trying to get a script which inserts a string/line to a file.
Before i do this i want to search for a typical string in this document and insert my string about this line.
I thought this was possible with sed or ? i cant figure it out
Hi
I got a logdirectory. And i want to check on this directory for files containing "ERROR".
If a file contains this string. I want to recieve a email with the specific logfile.
How can i get this done.
Thanks !
Hi folks :)
On our system we have a huge directory with alot of *.log files. I would like to make some sort of logrotate script. Some sort of thing that checks if a logfile is older then 10 days, and if so tar it with all the other 10 day old .log files and name the tarfile as logfiles.weeknr...
Question,
I got a directory full of script who mail output to specific email adresses. But ! our domain name is going to change so i need to change all the adresses from user@olddomain to user@newdomain.com. Some scripts area already changed.
Can anybody help me with this ?
thanks !
Jeroen
Hi !
At work we have a seperate isdn connection to a remote server.
Every once in a while this isdn router goes down. What i would like to do is make a script that checks if ip adres : 172.25.20.2 is active (its a ftp connection) and if not it sends me a email that the connection is down.
When...
I am trying to publish some sql reports on a html page to a website.(intranet)
Im not a oracle man, but is there anybody with experience with this. I would like to know what i need to do this..
oracle version, and other tools that are needed to do this.
Thanks !
Hi.
I am trying to make a script that starts another script upon the recieve of a email.
For ex. When i send a mail with a string killuser abc, to a typicall adress (of the unix machine) it must execute a script that kills the user abc..
can anyone help ?
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.