The code in your script:
implies that you believe that writing the string Now exiting. to standard output from your script causes the script to stop running. It does not do that. It simply writes that text and continues running the rest of the code in your script. In this case, it sleeps for two seconds and breaks out of the loop looking for files being downloaded. And, then it immediately starts testing for the conditions you have set up to be verified as being present before you suspend your computer. If you want your script to exit (as indicated by your echo statement), you need to actually include an exit statement in your code!
Does anyone know if there is a UNIX-tool available that constantly will check if (some specific) deamons are running and will notify (via email) if one has failed/stopped?
I searched the web, but so far didn't find anything. (3 Replies)
Hi ,
I have a csh code below which check the process if it's running.
Can any expert advise me on the following:
1) what does this notationmean ">!" and how is it different from the append ">" notation ?
2) how does "setenv" work in this code ?
# Check whether there is a running... (3 Replies)
Hi
I would like to check if an instance of a script is already running.
I've seen many different examples, but I haven't the slightest idea as to how to do this.
Can you please help.
Thank you. (5 Replies)
Hi
What is the best command to check if a particular process is running in a linux server or not
To check any java process, I use the below command.
ps -ef |grep jvm
When I execute the above command, it lists me all the processess . The above command should ideally return only the... (6 Replies)
Hi,
I had search the web for a script to download email, but failed to found one.
I need a bash or perl script that will check for email originating from an address such as john@rambo.com and download the .zip attachment into a specified folder.
Anyone could assist or give me some... (1 Reply)
Happy New Year
Is there a quick way to check to see if a script is already running.
I want to put in a check in the script to exit, if already running.
Currerntly i can only think of doing it the following way.
# ps -ef | grep -i 3_HOUSEKEEPING_FFTVTL_TO_FFTDSSU_DUPLICATION.ksh |... (5 Replies)
I have a script on a Linux box which scp the files to windows server without any issues. but there are time frames where the windows server will not be available due to maintenance. hence I need to check if the remote location is available before running the scp command.
scp... (3 Replies)
Hello,
Could someone do the following bash ubuntu script for me? I have 5 screen processes of bot:
SCREEN -dmS Xbot_instance_1 php core.php -i 1
SCREEN -dmS Xbot_instance_2 php core.php -i 2
SCREEN -dmS Xbot_instance_3 php core.php -i 3
SCREEN -dmS Xbot_instance_4 php core.php -i 4
... (2 Replies)
Discussion started by: kotch
2 Replies
LEARN ABOUT DEBIAN
bgoffice-dict-download
BGOFFICE-DICT-DOWNLOAD(1) User Contributed Perl Documentation BGOFFICE-DICT-DOWNLOAD(1)NAME
bgoffice-dict-download - download dictionaries for bgoffice
SYNOPSIS
# list known dictionaries
bgoffice-dict-download --list
# download a dictionary
bgoffice-dict-download --dict bg-en_dual
# explicit output file
bgoffice-dict-download --dict bg-en_dual --output=/some/where.tar.bz2
DESCRIPTION
bgoffice-dict-download is a small program to help download bgoffice dictionaries off sourceforge.net. It browses the bgoffice project
download area and follows the download links.
The dictionary is downloaded in the current directory, unless the "--output" option is used.
OPTIONS --list
Prints the list of the known dictionaries.
--dict dictionary name
Specifies the dictionary to be downloaded. See "--list" for the known dictionaries. This option is mandatory, unless "--list" is given.
--output file
Saves the downloaded dictionary in the given file, instead of ./<dict>.tar.bz2
COPYRIGHT AND LICENSE
Copyright: (C) 2010 Damyan Ivanov dmn@debian.org
Permission is granted to use this work, with or without modifications, provided that this notice is retained. If we meet some day, and you
think this stuff is worth it, you can buy me a beer in return.
perl v5.14.2 2010-12-16 BGOFFICE-DICT-DOWNLOAD(1)