It is a programmed sequence?

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
User avatar
Napajedlaci.cz
Senior Boarder
Senior Boarder
Posts: 47
Joined: Fri Jul 30, 2010 1:10 pm
Location: Czech republic, Zlin
Contact:

It is a programmed sequence?

Post by Napajedlaci.cz »

It is a programmed sequence, to me meteohub create graphs for individual days and saved as a month-day-rok.png (jpg).

I'd like to create the archive each day. In the future I will do through the web administration CRON to me these days will put the individual, but what was the grace, would be severely complicated it to manually generate.

Thank you so much for this information to do it.
Napajedlaci.cz is very good weather station in Czech republic neer town Zlin.
User avatar
YJB
Platinum Boarder
Platinum Boarder
Posts: 387
Joined: Thu Feb 19, 2009 5:53 pm
Location: Venhuizen, Netherlands
Contact:

Re: It is a programmed sequence?

Post by YJB »

I'm not completely sure what you are looking for, but I think that this will help:

Create your monthly graph, with a timeframe actual month, save it.
Now define an upload schedule, in the filename field, you give it a name similar to: temperature_%m%Y.png

Every time the file is uploaded it is overwriting the previous version, but since it contains a month/year definition, it will always keep the last version of the month. Once we move to a new month, the filename changes (and prevents the previous one from being overwritten.

In this example I'm using a graph, but one can do the same with a file that contains some text fields, like monthly statistics.
Post Reply