FAQ: Difference between revisions

203 bytes added ,  10 April 2014
m
→‎How do I upload my own pages or files once a day?: correcting format of cross-references
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)
 
== 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. ThisFor 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 thisexample you wouldcould calltype your own [http'c://wiki\cumulus\daily.sandaysoft.com/a/FTP_tools file transfer tool] for those pages, unselect ''cmd'Include Standard Files''' onin the filesbox tab of Internet settings, and list the templates on that tab, selectinglabelled ''Daily'Process?''' for all of them, but only selecting '''FTP?''' for the other pages that are still to be uploaded at the standard interval. You may find help on the forum or elsewhere on this wiki [http://wiki.sandaysoft.com/a/SFTP for the FTP side] and [http://wiki.sandaysoft.com/a/Customised_templates#Creating_Your_Own_Templates for files tab settings].
 
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 example if you host your own server using 'XAMPP', you could type 'c:\cumulus\daily.cmd' in the box labelled ''Daily''. Then, in the default Cumulus folder, add a file 'daily.cmd' that contains 'copy c:\cumulus\data\dayfile.txt C:\xampp\htdocs\weather\daj\' to enable you to use the [http://wiki.sandaysoft.com/a/AnnualDataSummary Daily Summary] tool. (Uploading if you do not host your own server is described at [http://wiki.sandaysoft.com/a/Upload_Dayfile upload dayfile]).
 
It can also be used for the optional files mentioned in the previous answer. For examplethe if you host your own server using 'XAMPP', you could type 'c:\cumulus\daily.cmd' incommand the box labelled ''Daily''.specified Thenabove, 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 [http://wiki.sandaysoft.com/a/[AnnualDataSummary| DailyAnnual Day-by-day Summary]] tool. (Uploading if you do not host your own server is described at [http://wiki.sandaysoft.com/a/[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 ==
5,838

edits