LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-28-2006, 06:30 PM   #1
mrfixit1951
Member
 
Registered: May 2005
Location: Ladysmith, WI USA
Distribution: FC14
Posts: 42

Rep: Reputation: 15
Automated downloading of GIF's in Mozilla


I'm looking for a way to automatically download GIF images from the National Weather Service every hour. I'm using Mozilla 1.7.13.
So far in my script I have "/usr/bin/mozilla/mozilla http://xxxxxxx.gif". That will open mozilla, and display the GIF. Now I need a way to automatically download the image to my HD, then close mozilla.
Anyone have any ideas?
 
Old 10-28-2006, 06:45 PM   #2
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Rep: Reputation: 30
Do you need to open it in Mozilla? You could just wget it. Or maybe you could do something like this:
Code:
/usr/bin/mozilla/mozilla http://xxxx.gif
/usr/bin/wget http://xxxx.gif
killall mozilla
The killall wouldn't be your best option, but I forget how to grab the process ID and just kill that.
 
Old 10-30-2006, 06:36 PM   #3
mrfixit1951
Member
 
Registered: May 2005
Location: Ladysmith, WI USA
Distribution: FC14
Posts: 42

Original Poster
Rep: Reputation: 15
Free Doughnut,
Thanks, that worked like a charm!
It's funny how sometimes you can overlook the simple things.
wget, used all by itself did the trick!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSe 9.1 and GIF's cobalt42 Linux - Distributions 3 09-07-2004 08:27 PM
Mozilla downloading problem KnowNothing Linux - Software 3 12-05-2003 08:47 PM
Mozilla 1.3 Downloading Through a Proxy Higgy3k Linux - Software 0 09-16-2003 08:53 AM
Mozilla and downloading images SirLancelotX Linux - General 4 07-22-2003 08:08 PM
Browsing while downloading with Mozilla funkenbooty Linux - Newbie 1 07-22-2003 08:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration