5,838
edits
m (→How do I upload my own pages or files once a day?: added 2 cross-references to other places on wiki) |
m (→How do I upload my own pages or files once a day?: correcting format of cross-references) |
||
Line 674: | Line 674: | ||
== How do I upload my own pages or files once a day? == | == How do I upload my own pages or files once a day? == | ||
Cumulus allows you to specify a command (with optional parameters) that will be actioned just after daily rollover. The command is entered in the ''External programs'' frame at the bottom left of the Internet Settings screen. The box is labelled '''Daily'''. Click the Cumulus ''Help'' button for guidance. | Cumulus allows you to specify a command (with optional parameters) that will be actioned just after daily rollover. The command is entered in the ''External programs'' frame at the bottom left of the Internet Settings screen. The box is labelled '''Daily'''. Click the Cumulus ''Help'' button for guidance. For example you could type 'c:\cumulus\daily.cmd' in the box labelled ''Daily''. | ||
This could be used to upload the pages with the longer term extremes (as your monthly, annual and all-time extremes may only change a few times a month or even less frequently) and so reduce the upload burden at the standard uploading frequency. To achieve this you would use the content of that example file 'daily.cmd', in the default Cumulus folder, to call your own [[FTP_tools| file transfer tool]] for those infrequently changing pages. Remember to also unselect '''Include Standard Files''' on the'' 'Files' tab'' of 'Internet settings', and list [[Customised_templates#How_Cumulus_uses_its_templates|the templates]] on that tab, selecting '''Process?''' for all of them, but only selecting '''FTP?''' for the other frequently changing pages that are still to be uploaded at the standard interval. You may find help on the forum or elsewhere on this wiki [[SFTP| for the FTP call]] and [[Customised_templates#Creating_Your_Own_Templates| for 'Files' tab settings]]. | |||
It can also be used for the optional files mentioned in the previous answer. For the daily command specified above, in the default Cumulus folder, add a file 'daily.cmd' that contains (if you host your own server using 'XAMPP'), 'copy c:\cumulus\data\dayfile.txt C:\xampp\htdocs\weather\daj\' for example to enable you to use the [[AnnualDataSummary| Annual Day-by-day Summary]] tool. (Uploading if you do not host your own server is described at [[Upload_Dayfile| upload dayfile]] but basically you swap the copy command for a FTP command). | |||
== The 'real time wind data' gauges on the standard gauges page aren't working == | == The 'real time wind data' gauges on the standard gauges page aren't working == |
edits