chill wrote: 
> In case anyone else is interested (and my apologies for polluting your
> Alpine Linux thread), note that the Fourmilab site has a limit on the
> rate that images can be requested.  I exceeded this a couple of times
> during testing, and instead of an image I was served up a file that said
> I had exceeded the number of images that can be downloaded within a 10
> minute period.  At that point, in order to be 'unlocked', you have to
> stop all requests for a while.
> 
> I found that one image per minute seemed acceptable, but overnight I was
> again locked out - I'm guessing that small variations in the cron
> interval meant that I had actually asked for 11 images in one 10-minute
> period.  Anyway, the images seem to update by one pixel in just over 2
> minutes, so I've adjusted my cron job accordingly.  It seems that the
> syntax to run every second minute (1/2 * * * *) isn't supported by cron
> under pCP, so instead I used 0,2,4,6,8...54,56,58 for the minutes.  So
> far so good - not locked out yet.

Excellent, no apologies necessary either, I'm just thrilled to have a
reply to a thread :)

I ran into a lot of problems with the weather data pulls, not rate
limits yet, just things like "null" values in the returned json or the
site returning a 503 error rather than a json response, changes to the
METAR text and order of fields etc.  Computers are supposed to be good
at repetition, seems they get bored too and like to mix it up a bit.


------------------------------------------------------------------------
sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=111488

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to