Page 1 of 1
Linux script to upload dayfile.txt to website
Posted: Tue 06 Jan 2015 6:26 pm
by john09cw
Wondering if anyone can help, I'm going to be running Cumulus MX on my Raspberry pi, only thing is I need to upload the Dayfile.txt to my website once everyday, I have been using toolbox for this task but this (as far as i know) will not run in Linux, so i need a script to do this job , I have seen a script for Windows but i know nothing about Linux, could anyone point me in the right direction.
Re: Linux script to upload dayfile.txt to website
Posted: Fri 23 Jan 2015 6:54 am
by john09cw
So just to bring this up again, anyone have any suggestions.
Re: Linux script to upload dayfile.txt to website
Posted: Fri 23 Jan 2015 8:25 am
by tumutbound
Re: Linux script to upload dayfile.txt to website
Posted: Fri 23 Jan 2015 8:56 am
by henkg
Or, if you don't mind uploading the dayfile.txt every x minutes (together with the processed standard files):
cmx_dayfile.png
Re: Linux script to upload dayfile.txt to website
Posted: Fri 23 Jan 2015 9:37 am
by john09cw
Thanks, I'll try those when I get home.
Re: Linux script to upload dayfile.txt to website
Posted: Fri 23 Jan 2015 10:06 am
by water01
Or, if you don't mind uploading the dayfile.txt every x minutes (together with the processed standard files):
Depending on how long you have been running Cumulus that is one heck of an upload overhead to do every standard upload time for a file that contains daily stats and needs to uploaded just once a day!!
Much better to run the Bash script in cron!!
Re: Linux script to upload dayfile.txt to website
Posted: Fri 23 Jan 2015 12:04 pm
by john09cw
Hmm, I've been running Cumulus since 2010, so could be a large file.