11-27-2013
Multiple shell scripts executed in one script
i want to finish the main script (i.e. 3,4,5), and then run main again with just two.csh..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have the following crontab entry to run a shell script for every 30 minutes of every day:
30 * * * * $HOME/main.sh > $HOME/main.log 2>$HOME/error.log
after I created the crontab file I have also done:
$crontab my_crontab
I also check to make sure it exists, by using the following... (11 Replies)
Discussion started by: radhika
11 Replies
2. AIX
Please help - I have seen others ask this question but I need a simple example of using vi in a shell script. Once I enter VI the shell script does not execute the next commands until I q!. I invoke VI and start the edit process. I want to go to the third line and replace a character with a new... (2 Replies)
Discussion started by: corsart
2 Replies
3. UNIX and Linux Applications
using sqlplus I want to execute a .sql script that has dbms_output statments in rhe script. I want to write the dbms_output statements from .sql file to a log file. is this possible. thanks
any help would be appreciated
:wall: (1 Reply)
Discussion started by: TRS80
1 Replies
4. Shell Programming and Scripting
I made a shell script to execute a server in screen mode.
# start server
screen -d -m -S Test ./application
echo "Program Started Successfully"
than I'm executing it from php by
echo shell_exec('/home/script.sh');
and it is giving me this error.
"cannot make directory... (1 Reply)
Discussion started by: dmallia
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am looking for a script wherein i will be able to execute below procedures one by one in line and next procedures starts only when the previous one completes and also after execution of each procedure i will be getting a automted mail as "PL/SQL PROCEDURE SUCCESSFULLY EXCETUTED".
... (1 Reply)
Discussion started by: sv0081493
1 Replies
6. Shell Programming and Scripting
Hi,
I am having a shell script which has a while loop as shown below.
while
do
sleep 60
done
I am executing this script from Informatica ETL tool command task from where we can execute UNIX commands/scripts. When i do that, i am seeing 2 processes getting started for one script... (2 Replies)
Discussion started by: chekusi
2 Replies
7. Shell Programming and Scripting
Hi
As per my requirement when I run . ./file.sh am getting the following error
-bash:ELF: command not found
when i execute as ./file.sh it is getting executed.How to resolve this.
Thanks in advance. (3 Replies)
Discussion started by: pracheth
3 Replies
8. Shell Programming and Scripting
Hi every one, i am new to shell script. my people given a task to write a shell script that should execute number of shell scripts in that. in that, if any shell script is failed to execute, we have to run the main script again, but the script should start execute from the failed script only..
it... (1 Reply)
Discussion started by: Madhu Siddula
1 Replies
9. Linux
Hi All,
I came across a weird scenario which i couldnt explain why.
As part of script which is run as /bin/sh shebang, we are trying to check if there is any process that runs with the same name ignoring the current process and kill it.
But for some reason, there are 2 process returned as part... (1 Reply)
Discussion started by: varathaneie
1 Replies
10. Shell Programming and Scripting
I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
2 Replies
LEARN ABOUT MOJAVE
tk_main
Tk_Main(3) Tk Library Procedures Tk_Main(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_Main - main program for Tk-based applications
SYNOPSIS
#include <tk.h>
Tk_Main(argc, argv, appInitProc)
ARGUMENTS
int argc (in) Number of elements in argv.
char *argv[] (in) Array of strings containing command-line arguments.
Tcl_AppInitProc *appInitProc (in) Address of an application-specific initialization procedure. The value for this argument is
usually Tcl_AppInit.
_________________________________________________________________
DESCRIPTION
Tk_Main acts as the main program for most Tk-based applications. Starting with Tk 4.0 it is not called main anymore because it is part of
the Tk library and having a function main in a library (particularly a shared library) causes problems on many systems. Having main in the
Tk library would also make it hard to use Tk in C++ programs, since C++ programs must have special C++ main functions.
Normally each application contains a small main function that does nothing but invoke Tk_Main. Tk_Main then does all the work of creating
and running a wish-like application.
When it is has finished its own initialization, but before it processes commands, Tk_Main calls the procedure given by the appInitProc
argument. This procedure provides a "hook" for the application to perform its own initialization, such as defining application-specific
commands. The procedure must have an interface that matches the type Tcl_AppInitProc:
typedef int Tcl_AppInitProc(Tcl_Interp *interp);
AppInitProc is almost always a pointer to Tcl_AppInit; for more details on this procedure, see the documentation for Tcl_AppInit.
KEYWORDS
application-specific initialization, command-line arguments, main program
Tk 4.0 Tk_Main(3)