thank you Corona688. Unfortunately the script stays in the loop
I was told by the administrator of the server that his script only runs while booting up the server and this is what he wanted. I had a brain hickup and forgot the basic stuff in shell script(loops). thanks for the help
---------- Post updated at 01:32 PM ---------- Previous update was at 01:19 PM ----------
Will give this a shot. Many Thanks
Last edited by Scott; 10-31-2012 at 02:42 PM..
Reason: Fixed code tag
Hi Guys,
My first post..:)
Right...I want to move existing files (with some date in their name) currently in $mainftp, to $mainfolder/$foldate/system1.
I'd like to be able to increment date in the for loop? Is this possible or should I use a different technique.
The script return the... (4 Replies)
Hi ,
I am trying to increment the nested for loops parellely,but i cant ,i used continue 2 but the second loop not getting increment.
no1="1 6 5 4 8"
no2="4 7 8 0 1"
for var1 in $no1 ; do
for var2 in $no2 ; do
line1
line 2
line 3
continue 2
done
done
Please help on this (4 Replies)
Hi I'm very new to this script thing, so please be gentle.
I am trying to get a command - the mach2qtl command in the code below - to loop through a set of files.
Each command should take the same two .dat and .ped files, but the .mlinfo and .mlprob files with filenames including 'chrom1' ... (7 Replies)
I'm trying to search all .odt files in a directory for a string in the text of the file.
I've found a bash script that works, except that it can't handle whitespace in the filenames.
#!/bin/bash
if ; then
echo "Usage: searchodt searchterm"
exit 1
fi
for file in $(ls *.odt); do
... (4 Replies)
Hello men.
How can i build a simple increment for $a by Xquery such as ?
let $a := 0
for $i in (1 to 10)
let $a := $a + 1
return $a
why a in this loop always is '1'
Thank you for reading, its will really helpful for my job if i can solve this problem :D:D (3 Replies)
I created script (sh shell) to generate vlc playlist based on some data files. All works fine so far except one string I do not know how to handle with.
VLCSTART='<vlc:id>'
VLCV=0
VLCEND='</vlc:id>'
echo -e $'\n'$'\t'$'\t'$'\t'$'\t'\$VLCSTART$VLCV$VLCENDOutput file contains several occurences... (10 Replies)
I am trying to have the below batch file do following two things:
1. only allow the values YES,yes,Y,y, or NO,no,N,n
2. increment the counter %var1 only if answer to question 2 is "y" and not able to get the syntax correct. If %var1%=1 then I am trying to display function :end. Thank you :).... (0 Replies)
Hi,
I am using solaris 5.10 environment and need help on doing parallel increment of nested for loop.
Samples
#inside the code the values assigned to a variable by another awk command will be like
a=/xyz/pg/as
/xyz/pg/as2
/xyz/pg/as3
b=/xyz/sd/fd1
/xyz/sd/fd2
/xyz/sd/fd3
for q in... (1 Reply)
Discussion started by: ananan
1 Replies
LEARN ABOUT OSF1
evmchmgr
evmchmgr(8) System Manager's Manual evmchmgr(8)NAME
evmchmgr - Event Manager channel manager
SYNOPSIS
/usr/sbin/evmchmgr [-c config_file] [-l log_file]
OPTIONS
Sets the configuration file to config_file. The default is /etc/evmchannel.conf. Sets message output to log_file. The default is stderr.
When the channel manager starts it renames any previous message file by appending .old to its name, and creates a new file.
OPERANDS
None
DESCRIPTION
The EVM channel manager is started automatically by the EVM daemon, and usually should not be run as a stand-alone program. It reads a set
of channel definitions from the channel configuration file and executes the commands defined as the monitor and cleanup functions for any
channel, at the configured intervals. There is no requirement for any channel to be configured with either of the periodic functions; the
channel manager ignores any channels which have neither.
By default, the channel manager reads its configuration from /etc/evmchannel.conf. The -c flag can be used to override this. If the chan-
nel configuration file is changed while the channel manager is running, the evmreload -c command should be used to instruct it to reconfig-
ure itself.
The channel manager reconfigures itself when evmreload -c is run, or upon receipt of a SIGHUP signal.
EXIT VALUES
The following exit values are returned: Successful completion An error occurred
FILES
Executable file Default channel configuration file Default channel manager log file
SEE ALSO
Commands: evmd(8), evmreload(8), evmstart(8), evmstop(8), kill(1)
Files: evmchannel.conf(4)
Event Management: EVM(5)
EVM Events: EvmEvent(5)
Event Filter: EvmFilter(5)
delim off
evmchmgr(8)