Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Linux script to upload dayfile.txt to website

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
User avatar
john09cw
Posts: 89
Joined: Sun 03 Jan 2010 9:35 am
Weather Station: Maplin N96GY
Operating System: Raspberry Pi/Windows 11
Location: Clifton, Penrith, Cumbria
Contact:

Linux script to upload dayfile.txt to website

Post 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.
User avatar
john09cw
Posts: 89
Joined: Sun 03 Jan 2010 9:35 am
Weather Station: Maplin N96GY
Operating System: Raspberry Pi/Windows 11
Location: Clifton, Penrith, Cumbria
Contact:

Re: Linux script to upload dayfile.txt to website

Post by john09cw »

So just to bring this up again, anyone have any suggestions.
tumutbound
Posts: 154
Joined: Thu 11 Mar 2010 11:03 am
Weather Station: WH1081
Operating System: Linux, Raspberry Pi (Wheezy)
Location: Port Huon, Tasmania , Australia
Contact:

Re: Linux script to upload dayfile.txt to website

Post by tumutbound »

Try this one, about as simple as it gets.

http://serverfault.com/questions/279176 ... ash-script
My weather
CumulusMX (3036)
Raspberry Pi: Wheezy
FineOffset WH1081
henkg
Posts: 99
Joined: Sun 24 Jul 2011 8:53 am
Weather Station: WH3080 (Alecto WS-5000 ECO)
Operating System: Raspbian Wheezy on RPI B+
Location: Zeeland, Netherlands

Re: Linux script to upload dayfile.txt to website

Post by henkg »

Or, if you don't mind uploading the dayfile.txt every x minutes (together with the processed standard files):
cmx_dayfile.png
You do not have the required permissions to view the files attached to this post.
Image
User avatar
john09cw
Posts: 89
Joined: Sun 03 Jan 2010 9:35 am
Weather Station: Maplin N96GY
Operating System: Raspberry Pi/Windows 11
Location: Clifton, Penrith, Cumbria
Contact:

Re: Linux script to upload dayfile.txt to website

Post by john09cw »

Thanks, I'll try those when I get home.
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Linux script to upload dayfile.txt to website

Post 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!!
David
Image
User avatar
john09cw
Posts: 89
Joined: Sun 03 Jan 2010 9:35 am
Weather Station: Maplin N96GY
Operating System: Raspberry Pi/Windows 11
Location: Clifton, Penrith, Cumbria
Contact:

Re: Linux script to upload dayfile.txt to website

Post by john09cw »

Hmm, I've been running Cumulus since 2010, so could be a large file.
Post Reply