10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a shell script that runs on our webserver logs, and grabs various useful data and then outputs this data to a .csv file.
What I want to do now is schedule a cronjob to run this script for me each week at a designated time, AND email the .csv file that is created as an attachment to... (1 Reply)
Discussion started by: xdawg
1 Replies
2. Shell Programming and Scripting
This is my first time writing a script and Im having some trouble,
Im trying to use the top command to monitor processes and the amount of CPU usage they require, my aim is to get an email if a process takes over a certain percentage of CPU usage
I tried grep
Obviosly that hasnt worked,
Any... (8 Replies)
Discussion started by: jay02
8 Replies
3. Shell Programming and Scripting
This script is to send a email if the IP adress is active
when i run this script it is working and sending emails to external users in different domains, but when this script is scheduled in a cron it is unable to send the emails
#/bin/sh
ifconfig -a | grep 192.168.0.1
if ;
then mail -s... (10 Replies)
Discussion started by: robo
10 Replies
4. Shell Programming and Scripting
Here is the code:
<?php
//new function
function loadini($path) {
$fp = fopen($path, "r");
$fpcontents = fread($fp, filesize($path));
fclose($fp);
return $fpcontents;
}
$to = "test@test.com";
$nameto = "notme";
$from = "test";
$namefrom = "Who From"; ... (0 Replies)
Discussion started by: galford
0 Replies
5. UNIX for Dummies Questions & Answers
Hi guys.
After several Google hours, i've failed to find a solution to my problem, maybe my google skills arent that good - but i hope someone could help me figure this out.
I'm running a ubuntu server 11.04 with postfix installed.
I have installed Request tracker 4 and configured it to read... (2 Replies)
Discussion started by: spirm8
2 Replies
6. OS X (Apple)
Hi, How can I use "mailx" command to send message to an email address like this?
echo "This email body" | mailx -s "my subject" "email@hostname.com"
There may be some setup required in sendmail or postfix??
OS = Snow Leopard 10.6 (4 Replies)
Discussion started by: FlyingSquirrel
4 Replies
7. Shell Programming and Scripting
Hi
Im very new at working with unix and this problem I simply can not understand. I know there are a lot of threads about problems with shell scripts behaving differently when run from a terminal and from a cronjob. I have tried everything(almost) but I still havent cracked this problem.
Im... (15 Replies)
Discussion started by: Nightowl
15 Replies
8. AIX
On one of our AIX servers, I'm having problems sending email to an external domain. I'm not a SYSADM and not sure how to troubleshoot this issue. Any help will be greatly appreciated.
The following mail components are installed on the server
$ lslpp -l bos.mh
Fileset ... (2 Replies)
Discussion started by: voorkey
2 Replies
9. UNIX for Dummies Questions & Answers
Can this be done? Code samples welcome and encouraged. (2 Replies)
Discussion started by: idesaj
2 Replies
10. UNIX for Dummies Questions & Answers
I have an Solaris 8 machine running a managment application. One of the features of this application is to configure alarm forwarding to an email undress.
When i configured the application to do that, it asked me only about the recipient email address.
Quesiton: how to configure my Solaris 8... (7 Replies)
Discussion started by: bcheaib
7 Replies