05-22-2011
how to find whether a script ran or not
Hi, I have written a script and placed in an application and the script can be executed manually only. But somehow one of the method in the script is being called and bringing the application down. But we are not able to find any instance of script running.
Is there a way to findout whether the script ran or not at a particular time or not.
Thanks
Satya
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am not sure whether this is the right place to ask this question...:)
I am working in Informatica PowerCenter 8.1.1 tool and my server is on UNIX. I have got a shell script to copy files from one folder to another.
When I run the script directly from UNIX prompt it is taking 60... (0 Replies)
Discussion started by: sam99
0 Replies
2. Shell Programming and Scripting
Hi All,
I want to login to Oracle Application Server and run ant.xml file.
Can someone propose a script for that task?
Thanks,
Abraham123 (0 Replies)
Discussion started by: Abraham123
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a script that finds the application logs from the previous day and sends it to another server via ftp.
The code is something like this:
yest_date=`TZ=CST+24 date "+%b %d"`
logdir=/app/logs
logs=app*.log
tmpdir=/tmp
cd $logdir
for i in `ls -1 $logs`
do
chkstr=`ls -1l $i | grep... (2 Replies)
Discussion started by: tatchel
2 Replies
4. HP-UX
We have HP 9000 running UX.
Does anybody know a reputable or even a strong maintenance firm that DOESN'T have a help desk the other side of the planet?
We've been approached by Newcorp but thay seem rubbish.
Please give me some recommendations.
Sorry if this is posted in the wrong room but I... (3 Replies)
Discussion started by: Handsy
3 Replies
5. Shell Programming and Scripting
I have a script in which i want to print absolute path of the same script irrespective of path from where i run script.
I am using
test.sh:
echo "pwd : `pwd`"
echo "script name: $0"
echo "dirname: `dirname $0`"
when i run script from /my/test/dir/struct as ../test.sh the output i... (10 Replies)
Discussion started by: rss67
10 Replies
6. UNIX for Dummies Questions & Answers
When I ran the following find command under a "regular" user is completes but it limited because of perms.
find / -name "*.*" | xargs grep something > ok
But when I try to run it under su, it hangs and never completes.
Any suggestion? (4 Replies)
Discussion started by: shorty
4 Replies
7. UNIX for Dummies Questions & Answers
Is there a way to find out the total no of processes that were running ?
- 2 or 3 hours before
- list those no of processes (3 Replies)
Discussion started by: jansat
3 Replies
8. Shell Programming and Scripting
HI,
I have a file serverlist in that all host names are placed.
i have written a small script
#./testping
#! /bin/bash
for i in `cat serverlist`
do
ping $i >> output.txt
done
so now it creates a file output.txt till here fine..
now each time i run this script the output file... (4 Replies)
Discussion started by: madhudeva
4 Replies
9. UNIX for Dummies Questions & Answers
I want to test if script.sh is being run with nohup ... but $0 does not contain nohup part...
purpose: script.sh should only be ran with nohup if user forgets nohup then it should echo "run with nohup" && exit....... (2 Replies)
Discussion started by: holyearth
2 Replies
10. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
LEARN ABOUT DEBIAN
ipescript
IPESCRIPT(1) General Commands Manual IPESCRIPT(1)
NAME
ipescript - Run an Ipe script (written in Lua)
SYNOPSIS
ipescript script { arguments }
DESCRIPTION
ipescript runs an Ipe script written in Lua. The Ipe bindings are automatically available in the script. Ipescript looks for the script
in any of the script directories.
The script argument should not contain the .lua extension.
ENVIRONMENT VARIABLES
ipescript respects the following environment variables:
IPELATEXDIR
the directory where ipetoipe runs Pdflatex.
IPESCRIPTS a list of directories where Ipescript will look for
scripts. When this variable is not set, Ipe searches first the current directory, then ~/.ipe/scripts, and finally the system-wide
Ipe script directory. When this variable is set, it should contain a list of directories, separated by semicolons. A single under-
score is replaced by the system-wide Ipe script directory.
IPEDEBUG
set this to 1 for debugging output from ipescript.
AUTHOR
Otfried Cheong
REPORTING BUGS
Please report bugs using Ipe bugzilla at http://ipe7.sourceforge.net/bugzilla.html
SEE ALSO
Ipe is documented fully in The Ipe Manual, which is available online at http://ipe7.sourceforge.net/manual/manual.html .
August 28, 2011 IPESCRIPT(1)