Author Topic: Run Saratoga Template at regular times  (Read 450 times)

0 Members and 1 Guest are viewing this topic.

Offline griffo42

  • Senior Member
  • **
  • Posts: 66
    • Carina Weather
Run Saratoga Template at regular times
« on: March 23, 2017, 06:05:39 AM »
Hi all

I wish to run the Saratoga template each day at a regular interval..Could I please have recommendation as to the best way to achieve this.  There is a way to set up Firefox to run in this proposed way but I am wondering if there is a better way.

Keith Griffin, Brisbane, QLD AUSTRALIA; Web Site http://www.kstwx.net/index.php
Davis VantageVUE  Model #6357
Cumulus v1.9.4-b1099
Saratoga Weather World template Cumulus plugin
Carina Weather, Brisbane.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1230
    • Support site Leuven Template and scripts
Re: Run Saratoga Template at regular times
« Reply #1 on: March 23, 2017, 06:48:08 AM »
The easiest way is to use a cron-job to to the job for you.
A google search for "free cron jobs " results  multiple possibilities.

You select a cron job provider
enter the url to be executed: http://www.kstwx.net/index.php  or any other page of your site,
set the frequency, once a day, or every so many minutes
and the cron provider will execute that url at the set frequency.

Example https://www.easycron.com/user/register  allows 200 executions of your set URL per day. That is every ten minutes every day.
And there are multiple other also to choose from.

Maybe you provider also allows cron-jobs but often the setup is more difficult and the frequency allowed is less attractive. But that differs for every provider.

Wim
Vantage VUE with a WLIP connected to a Meteobridge used for https://weer.sluispark.be/
Same VUE+WLIP uploads to WL.com(2.0)  used for https://sluispark.be/weather28/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/
Envoy with a WLIP uploads to WL.com(1.0) as a backup / test for the same site.

 

anything