02-22-2008
it cant go under crontab, it gets triggered by an incoming mail & they are sporadic
& i just tried 4755 permissions & dumped the ps info & its now running as my used id, which is fine. but still doesnt work.
maybe it my system call?
$outputfile = /tmp/tmp.out;
system "/usr/bin/binary -submit $outputfile";
wait;
is that an ok system call?
Last edited by jojo77; 02-22-2008 at 12:11 PM..
10 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
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
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
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
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
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
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
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
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
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
LEARN ABOUT V7
iconvconfig
ICONVCONFIG(8) Linux System Administration ICONVCONFIG(8)
NAME
iconvconfig - create iconv module configuration cache
SYNOPSIS
iconvconfig [options] [directory]...
DESCRIPTION
The iconv(3) function internally uses gconv modules to convert to and from a character set. A configuration file is used to determine the
needed modules for a conversion. Loading and parsing such a configuration file would slow down programs that use iconv(3), so a caching
mechanism is employed.
The iconvconfig program reads iconv module configuration files and writes a fast-loading gconv module configuration cache file.
In addition to the system provided gconv modules, the user can specify custom gconv module directories with the environment variable
GCONV_PATH. However, iconv module configuration caching is used only when the environment variable GCONV_PATH is not set.
OPTIONS
--nostdlib
Do not search the system default gconv directory, only the directories provided on the command line.
-o outputfile, --output=outputfile
Use outputfile for output instead of the system default cache location.
--prefix=pathname
Set the prefix to be prepended to the system pathnames. See FILES, below. By default, the prefix is empty. Setting the prefix to
foo, the gconv module configuration would be read from foo/usr/lib/gconv/gconv-modules and the cache would be written to
foo/usr/lib/gconv/gconv-modules.cache.
-?, --help
Print a usage summary and exit.
--usage
Print a short usage summary and exit.
-V, --version
Print the version number, license, and disclaimer of warranty for iconv.
EXIT STATUS
Zero on success, nonzero on errors.
FILES
/usr/lib/gconv
Usual default gconv module path.
/usr/lib/gconv/gconv-modules
Usual system default gconv module configuration file.
/usr/lib/gconv/gconv-modules.cache
Usual system gconv module configuration cache.
SEE ALSO
iconv(1), iconv(3)
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
GNU
2018-02-02 ICONVCONFIG(8)