Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Programming & Scripting
Reload this Page really needing help
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Programming & Scripting C, Perl, PHP, Bash Scripts, anything programming or script related post in here!

Reply
 
Thread Tools Display Modes
Old 07-04-2007   #1 (permalink)
luishi07
Just Joined!
 
Join Date: Jun 2007
Posts: 13
really needing help

im having a big problem. Im using a script with wget to retrieve some files from a server.
Since the files are getting bigger and i must retrieve them every hour more or less i need to know how can i modify the script (this script is being launched by a cronfile every hour) so it detects if the wget is already running, if so dont launch it again and exit but if wget is not running then launch it
I think its just an if but the deal is that i dont know how to check if the wget app is running by command line (i can see it with the nice gui interface called system monitor).
Im using ubuntu 7.04.
Thanks a lot for the help
luishi07 is offline   Reply With Quote
Old 07-04-2007   #2 (permalink)
Lakshmipathi
Linux Enthusiast
 
Lakshmipathi's Avatar
 
Join Date: Sep 2006
Location: 3rd rock from sun
Posts: 523
Smile

Quote:
Originally Posted by luishi07 View Post
how to check if the wget app is running by command line.
try this command,
ps -aux | grep wget
__________________
- LakshmiPathi.G
------------------------------
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
------------------------------
My OpenSource Projects:
giis
exthide
ext3carve
Lakshmipathi is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spare comp, needing distro Tecµ Linux Newbie 6 09-15-2005 04:10 AM
Quote characters needing the 'space' Morgoth Linux Desktop / X-Windows 1 04-17-2005 02:11 PM
The "I'll probably be needing lots of help" Thread LinuxNewbie7 Yoper Linux Help 3 03-07-2005 02:21 AM
Im an Uber Newb needing help with the basics frustrated Linux Newbie 12 07-18-2004 08:28 AM
Newbie needing help krafczykd The Coffee Lounge 2 10-26-2003 10:51 AM




All times are GMT. The time now is 10:33 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0