#!/bin/bash
# john meister 2011 Feb 10
#
# script to capture camera shots for web page - runs every 1.6 minutes (96 seconds)
# http://images.wsdot.wa.gov/nw/009vc00569.jpg - looking north from 152nd
# http://images.wsdot.wa.gov/nw/009vc00605.jpg - looking south from cathcart
# date +'%Y-%m-%d.%H%M' --> 2011-02-10.1519
#
# repeat a command 100 times
# x=100
# while [ $x -gt 0 ]
# do
# command
# x=$(($x-1))
# done
# repeat command 10 times
x=10
while [ $x -gt 0 ]
do
wget --output-document="`date +'%Y-%m-%d.%H%M'`hrs-152nd-north.jpg" --no-http-keep-alive -q -nc "http://images.wsdot.wa.gov/nw/009vc00569.jpg"
wget --output-document="`date +'%Y-%m-%d.%H%M'`hrs-cathcart-south.jpg" --no-http-keep-alive -q -nc "http://images.wsdot.wa.gov/nw/009vc00605.jpg"
sleep 96
x=$(($x-1))
done
#
#
# wget --output-document="`date +'%Y-%m-%d.%H%M'`hrs-152nd-north.jpg" --no-http-keep-alive -q -nc "http://images.wsdot.wa.gov/nw/009vc00569.jpg"
# looking north from 152nd
#
# wget --output-document="`date +'%Y-%m-%d.%H%M'`hrs-cathcart-south.jpg" --no-http-keep-alive -q -nc "http://images.wsdot.wa.gov/nw/009vc00605.jpg"
#looking south from cathcart
# sleep 96
|
The Art of Linux System Administration published by O'Reilly Media Study Guide for the LPIC-2 Certification Exams |
![]() Wagoneers FULL SIZE JEEPS JeepMeister "Jeep is America's -Enzo Ferrari MeisterTech Diesels + |
One Page Overview of Linux Commands click for an image of the 5 essential Linux commands An Intro to Linux |
at Midway Auto on SR9 in Snohomish, or at Northland Diesel in Bellingham, WA |