PDA

View Full Version : FAD Stats Updates...



meep
04-26-2005, 09:03 AM
Couple of quickies...

Firstly, where did the FAD update go that was due at 07:58 (server time)?

Secondly, is there a reason the stats get updated an hour and 58 mins after the FAD cut-off, or is this down to daylight saving or time differences between this server and the central FAD server?

Cheers ta,
Steve.

Bok
04-26-2005, 09:35 AM
Are they really that late? Nobody ever helped me, so I never knew when they occurred....if you can get me the exact times, I'll change the cron. Obviously it's better to keep it a little afterwards in case they overrun...

O/T same goes for any of my stats btw, anyone is welcome to chime in and tell me when the optimum time is to check for updates.

Looks like the last update got stuck somehow. It happens once every 3-4 months. I get an email when the process goes into zombie mode.

It's rerunning manually now.

Bok :D

meep
04-26-2005, 10:03 AM
Nice one - I will see if I can find the exact FAD update times for you.

Any one else know them off the top of their heads??

LAURENU2
04-26-2005, 10:14 AM
looking at the FAD stat page

This Account Has Been Suspended
Please contact the billing/support department as soon as possible.
FAD stats did not pay there rent:neener:

meep
04-26-2005, 10:22 AM
dont know which site that is your looking at... I only use the stats on this site or the Job Query page on find-a-drug.com

Wizzard~Of~Ozz
04-26-2005, 05:25 PM
bok, what language is your pull programmed in, if it's php I might be able to solve your problem of a good time, I check every 15 minutes..

Bok
04-26-2005, 06:11 PM
Thanks for the offer.. it's perl.... just the webpages are php

It already checks for timestamp changes, I just don't like making it run every 15mins as I also run stats for just about every other project out there.....so I'd prefer to know when they are going to update and at least try to get it close.

However, I'll change it to run every hour for now, if they aren't any changes it won't do anything.

At the very least, what is a good minute to run it at ? At the moment it's at 55 past the hour.

:cheers:


Bok

p.s. this is my crontab.... :p

00 * * * * /home/freedc-stats/runstats/test/runrank.sh
01 * * * * /home/freedc-stats/runstats/test/runeon.sh
02 * * * * /home/freedc-stats/runstats/test/rund2ol.sh
05 * * * * /home/freedc-stats/runstats/test/runtsc.sh
09 * * * * /home/freedc-stats/runstats/test/runcb.sh
10 * * * * /usr/bin/php /home/freedc-stats/public_html/users/static.php
11 * * * * /home/freedc-stats/runstats/test/rundimes.sh
16 0,4,8,12,16,20 * * * /home/freedc-stats/runstats/test/runfah.sh
17 * * * * /home/freedc-stats/runstats/test/rundhep.sh
#18 * * * * /home/freedc-stats/runstats/test/rundpad.sh
19 * * * * /home/freedc-stats/runstats/test/runseti.sh
20 * * * * /home/freedc-stats/runstats/test/runsob.sh
21 0,6,12,18 * * * /home/freedc-stats/runstats/test/runcpdn.sh
22 * * * * /home/freedc-stats/runstats/test/runud.sh
#22 1 * * * /home/freedc-stats/runstats/test/runud.sh
24 * * * * /home/freedc-stats/runstats/test/runzeta.sh
30 * * * * /home/freedc-stats/runstats/test/runboinc.sh
31 * * * * /home/freedc-stats/runstats/test/runeon.sh
34 * * * * /home/freedc-stats/runstats/test/runbewes.sh
35 * * * * /home/freedc-stats/runstats/test/runtkc.sh
36 * * * * /home/freedc-stats/runstats/test/runwcg.sh
37 * * * * /home/freedc-stats/runstats/test/rundolphin.sh
40 * * * * /home/freedc-stats/runstats/test/runsob2.sh
#40 3,9,15,21 * * * /home/freedc-stats/runstats/test/runlm.sh
50 21 * * * /home/freedc-stats/runstats/test/runogr24.sh
51 21 * * * /home/freedc-stats/runstats/test/runogr25.sh
52 21 * * * /home/freedc-stats/runstats/test/runrc572.sh
53 * * * * /home/freedc-stats/runstats/test/rundpad.sh
55 * * * * /home/freedc-stats/runstats/test/runfad.sh
45 1,4,7,10,13,16,19,22 * * * /home/freedc-stats/runstats/ppstats/ppstats.pl

Wizzard~Of~Ozz
04-26-2005, 06:20 PM
That's a busy little system you got there...

I use PHP to check the header, if the date/time is different then the last update then it executes (tht is only 1 small part, the rest of it was coded in VB and it has it's own built in timer..)

As for times, 45 mins past the hour would be a good guesstimate.

Odd, checking the logs show it updating every 2 hours, wonder if something has changed... (12, 14,16,18:00 hours)

(just checked, the information is identical, Guess it was just some extra updating of the files..)

Bok
04-26-2005, 06:28 PM
most of them only take 5-10 seconds to run.

FaD takes about 3mins or so and is about the biggest. They all run through the same perl scripts, I just have configuration files for each different project which get 'included' in depending on the parameter sent into the script :)

Bok

Angus
04-29-2005, 01:52 AM
Updates hung again? Last update looks like 13:58 on 4/28

:Pokes: Bok

Bok
04-29-2005, 07:41 AM
nope,

everyone was in the same boat. FaD didn't update their stats.

Bok