-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cool dailies #1
Comments
@pedromorgan hi Pete... have manually pushed a few more dailies, added a few words in the readme.md... and pushed a few samples of the html that can be generated... So as you can see, it is all done manually, starting with a script running in my little RPI2, running 24/7, manually monitored by me... zipped and copied to my It would certainly be useful if it could be automated, on m2... it seems the script running under supervisor would be sufficient... if it stops, just re-start it... And then we need a way to copy the daily CSV file to this repo... Anything you can do to get this happening would be much appreciated... thanks... |
so it could be straightforward..
So where is script? how does it work etc |
Hi Pete, Yes, all very simple, but some parts are beyond me ;=)) The perl script is in my repo... so...
That's it folks ;=)) The cf logs will be written the 'temp/temp-flights' dir, The part I do not get is running that Probably could find that break, and make it more robust, And also I would have trouble setting up a cron job to The name of each CSV file will take the form 'flights-2016-08-06.csv', Do you need any other information at this time? Hope you can help get this setup and running... thanks... Regards, |
So I checkout this repos on the server
Is the script on the serer already ? |
And then I knock up the cron script... cd /home/fg/crossfeed-dailies
git add *.csv
git commit -a -m "<date here>"
git push origin master Geoff.. is there a one liner to make the date script same in bash as perl ? (not a bash expert by any stretch of the imagination) |
Hi Pete,
It wasn't, but just added it to -
Sure, just add Of course, one must have the right permissions for this...
Not that I am a bash expert either, but the following seems to do it...
Regards, |
Ok so copied over to /home/fg/ When i run I get fg@s15301371:~$ ./cfjsonlog.pl -d /home/fg/crossfeed-dailies
Can't locate lib_utils.pl in @INC (@INC contains: ./ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./cfjsonlog.pl line 28. So Which lib do i need ? Or can this be in the "crossfeed" respository along side the udp/json stuff ? pete |
Hi Pete,
Copied what? Just the one Then ok, it tells you what it is missing -
So, if you copy that, then it would complain about a missing If you also copied that, then it should work... but might BUT, why this per script copying??? If you want the
And use the scripts in-situ... so it can be updated by Sorry, I was not clear that the Most scripts in there have a local dependency, at least to And many use the cloned space for other things, like a But you should have no trouble running... from anywhere...
These scripts, in general, have nothing to do with the And I guess this is because I am a But for sure, this may not be the usual Regards, |
Please @geoffmcl I reslly want all eggs in one basket in this case.. and am even curious which code is running on m2? What I do prefer is having all the "xfeed stuff" in one place along with jobs.. So please can u tell me which is head version running on m2, so I can fork and do things. Sorry 2b short guys.. But am working on a mega project, so diving in and out here.. BUT get real.. I need to get git.. and we gonna get it working.. |
@pedromorgan hi Pete, Re: Which crossfeed (cf_client) running on m2? Well, looking at
It seems that was built Oct 6 2014, from the source in When
It looks like I did that move Dec 28 2012, and although In fact just eyeballing a diff between the Will leave it up to you to decide to leave the current But I tried a build of gitlab clone in my space,
First because I do not know where the libSimGearCore.a So where has Need it to add a With this information, I could continue, and check Re: Getting cfjsonlog.pl working in m2 Not sure what you want me to do here? All what You have to be much more explicit with me...
No problem... as and when you get the time... as Meantime, RPI2/Geoff are continuing their daily Regards, |
Just added last 2 days 06 and 07... time for a git pull... thanks... |
And then the latest stats are here -
Took 8:32 to cook, using Sampled 19,166 flights, flown 277,875,663 nm., probably Have FUN! Regards, |
Are the .CSV files available on geoffair.net as well? Or just ZIP files? |
Just ZIP files... copied from my RPI2 machine (manually) to there... |
This discussion seems continued on #2, and expanded, so closing this... |
Few questions from pedro to @geoffmcl @theo-armour
Where is this input coming from.. Hopefully its on m2 maybe as xfeed ?
This is what I am after in flight tracker..
cos with postgres, u can kinda read/parse these files..
and stick into postgis as positions and paths...
Hey looking forward to this..
@geoffmcl - we need to automate this preferably with jenkins instance and a couple of slaves...
so if one goes down, other one carries on etc..
End of day results and stats etc..
The text was updated successfully, but these errors were encountered: