10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I am facing a weird issue while executing a code below -
#!/bin/bash
cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset
sh UKBA_publish.sh UKBA 28082015 3
if
then
echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies
2. Shell Programming and Scripting
Hi,
I am trying to write a script that calls an Oracle SQL file who in turns call another SQL file. This same SQL file has to be run against the same database but using different username and password at each loop.
The first SQL file is basically a connection test and it is supposed to sort... (2 Replies)
Discussion started by: newbie_01
2 Replies
3. Shell Programming and Scripting
Hi All,
I have a cronjob which runs a script every 5 mins.
My problem is before the script is completed the cron job starts again after 5 mins.
How can I put this second cron job to wait unless the first script has completed.
Could you please help me on that (7 Replies)
Discussion started by: prats_7678
7 Replies
4. Shell Programming and Scripting
I am using blow script :--
#!/bin/bash
FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not
if
then
# echo "process found"
exit 0;
else
echo "process not found"
exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies
5. Shell Programming and Scripting
Heya people,
So my script is one of those make-user-scripts, making a bunch of directories in the home folder and copying some files over into the new directories.
However, part of the thing my script need to do is check the home folder if a username matches with a directory which already exists.... (6 Replies)
Discussion started by: Cloudy_Cat
6 Replies
6. UNIX for Dummies Questions & Answers
Hi, I'm wondering if it's possible to pause a process I'm running in the background, close my laptop (I need to leave the office), and continue the process (when I get home).
I've been running a process for a really long time and I don't want to have to start it over.
Thanks in advance! (9 Replies)
Discussion started by: ShiGua
9 Replies
7. Shell Programming and Scripting
HI,
Please help me on this. I have to execute 100 scripts which i have redirected in to a file . I want to pause the script after first execution and once i say enter key word it has to go to next execution. My looks like
for RUNFILES in `cat ${SOURCEFILES}/scripts`
do
echo $RUNFILES;
... (1 Reply)
Discussion started by: srichunduru
1 Replies
8. Shell Programming and Scripting
Hi all,
I got the request to make a Perl script with the requirements as follow:
1. Make a program that just shows the time, a clock on the format 12:01:24.
2. When someone press key combination Ctrl -p the program should pause, ie the clock will stand still. When the Ctrl - p is pressed... (3 Replies)
Discussion started by: milo
3 Replies
9. Shell Programming and Scripting
Can anyone tell me why this section of my script doesn't work? The script is designed to accept piped data, store it in a temporary location, and then prompt the user for their user name. It doesn't stop to read the username, however. It just finishes.
It is called like:
cat datafile | myscript... (3 Replies)
Discussion started by: davegerdt
3 Replies
10. Shell Programming and Scripting
I am writing a small script which allows users to grep multiple log files across multiple directories, and often the output produced by the grep statements is quite lengthy. It would be nice if the output to the screen could be "paused" when it reaches a certain length (say, the length of the... (5 Replies)
Discussion started by: mharley
5 Replies