[juneau-lug] Crontab question

  • From: Kevin Miller <millerboys@xxxxxxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Wed, 21 Dec 2005 19:49:41 -0900

I want to run a script every five minutes and have the following in crontab:

   */5 * * * * /home/big_folks/bin/glacier_cam

That works fine, but I want to limit the script to running during 
specific hours.

What I'm doing is grabbing the shot of the Mendenhall Glacier from 
http://www.fs.fed.us/r10/tongass/webcam.jpg and at the moment it's just 
a nice big blob of black.  So, I need to run the cronjob during daylight 
hours.  I figure I'll just keep track of sunrise and sunset and every 
week add a half hour or so to the time parameters.  In a year I want to 
combine all the .jpgs into a time-lapse video.  I think it'll be sorta 
neat to watch the changes to the glacier over the course of the year. 
Not to mention the weather changes, and such.

Will I trigger every five minutes between 7 am and 4 pm if I do the 
following:

   */5 7-16 * * * /home/big_folks/bin/glacier_cam

And does anybody know how to combine multiple .jpg files into a .mpg or 
other video format?

TIA.

S'later...

...Kevin
-- 
Kevin Miller
http://www.alaska.net/~atftb
Juneau, Alaska
Registered Linux User No: 307357

------------------------------------
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: