Sponsored Content
Top Forums UNIX for Dummies Questions & Answers run a script from incoming email Post 302169702 by jojo77 on Friday 22nd of February 2008 05:55:31 AM
Old 02-22-2008
getting the script to run manually is no problem. its even got 777 perms
the problem i think is it is running as daemon when it gets called from /etc/aliases.
& if i can change it to run as me or nobody then i can eliminate 1 possible answer

thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Running script that sends an html formatted email fails when its run as cronjob

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

2. Shell Programming and Scripting

Script to number incoming files

Hey guys, I am working on a Cshell script and I am stuck on this one part. I need to be able to copy in files to my directory but give them different names so they don't overwrite each other. For example, my folder already contains FILE.1 I want my script to name the next file copied over... (5 Replies)
Discussion started by: hootdocta5
5 Replies

3. Shell Programming and Scripting

Run a script based on the subject line of the email

Hi, I need help in running a script that would pull info from an email subject line and run a script (foo.sh). I'm pretty sure after a bit of googling that this is possible in several ways. but none was pretty clear on how to accomplish it. The part that I really need help with is getting the... (5 Replies)
Discussion started by: satekn
5 Replies

4. UNIX for Dummies Questions & Answers

Help: script to monitor incoming files

I have 20 or so files that are ftp'd each day to a particular directory. I want to create a script that will tell me if any of these files fails to arrive or if any additional files arrive. I'm thinking I'd have a list of file names that should arrive each day, and the script would check each days... (2 Replies)
Discussion started by: daveyc82
2 Replies

5. UNIX for Dummies Questions & Answers

run a perl.script upon receiving an email in Sendmail

Hi All I am newbie with Sendmail and Linux in general. We use sendmail for outgoing and incoming mails. Once our server receives a certain email xxx@yyy.com we would like to run a PERL script doing some task wiht it. Can you address me a little bit on that topic? In order to do that the... (0 Replies)
Discussion started by: manustone
0 Replies

6. Shell Programming and Scripting

KSH script to run other ksh scripts and output it to a file and/or email

Hi I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email. For example ------- Script ABC ------- a.ksh b.ksh c.ksh I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies

7. Linux

Run PHP script when new email received

I have been looking around for a solution to this, i have been developing for a wile though am very new to CGI, PHP and a lot of the web based tech. I have a web site hosted with a cPanel web host. I am looking to have a script(prefer PHP) to run everytime i get a new email to help@xxx.com.... (16 Replies)
Discussion started by: iKris
16 Replies

8. Shell Programming and Scripting

Run a script when I receive an email

Hi expert I wish to start a shell script when I receive an email. I modified the aliases file and I add this string as400nag: "|/home/nag-script/startstop/AS400-Boot.sh The solution works . When the as400nag user receive an email the /home/nag-script/startstop/AS400-Boot.sh starts .but... (3 Replies)
Discussion started by: emi65
3 Replies

9. Shell Programming and Scripting

Script that will send an email if the cron job did not run.

Team, Would like to know what is the best script that will send you an email if cronjob did not run. Thanks (4 Replies)
Discussion started by: kenshinhimura
4 Replies

10. Shell Programming and Scripting

Run remote command and send email

I am currently try to write a simple script with the following condition, but so far not having luck as the exit code would always be 0. Run remote command to read a file and grep for test word. if test word is in the file, send email. if not, do nothing also possible to ssh to multiple... (3 Replies)
Discussion started by: jaapar
3 Replies
prestoctl_svc(8)					      System Manager's Manual						  prestoctl_svc(8)

Name
       prestoctl_svc - Prestoserve control daemon

Syntax
       /usr/etc/prestoctl_svc [ -n ]

Description
       The RPC-based daemon allows remote client systems to monitor and administer a Prestoserve cache and its driver.	The client system does not
       have to be running the Prestoserve software.  The daemon can be started manually, or it can be started each time you reboot by  adding  the
       command to the file of the machine running the Prestoserve software.

       You  must  run the daemon if you want remote client systems to be able to use the command to monitor and manage your system and if you want
       to use the command.  Refer to and to for more information.

Options
       -n     Allows remote client systems to manage a Prestoserve cache and its driver.  The -n option allows remote client systems to change the
	      size of a Prestoserve cache and to change the state of a Prestoserve cache by using remote procedure calls.  The -n option is useful
	      when evaluating or demonstrating Prestoserve capabilities.  Because of security problems, it is recommended that the -n  option  not
	      be used on production machines.

Files
       Generic Prestoserve control device.

       File where you add the
			 command.

See Also
       presto(8), dxpresto(8X), presto(4)
       Guide to Prestoserve

																  prestoctl_svc(8)
All times are GMT -4. The time now is 01:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy