Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Fin weather plugin readme

=== Finnish Weather WP Plugin ===
Tags: sää,weather,suomi,finland,map
License: GPL-3.0

 Finnish weather information map plugin that is very lightwheight

== Installation ==
run as root:
     echo "<?php echo " 17   * * * *  sudo -u www-data -- python3 /download_to_sql_fi.py ";?>" >> /etc/crontab

 Setup database MySQL table:
       CREATE USER ""@"%" identified by "";
       CREATE DATABASE 
       CREATE TABLE 

        GRANT ALL PRIVILEGES ON .* TO ";"@"%";

                                                                                       OR

        GRANT ALL PRIVILEGES ON . TO ";"@"%";



== Changelog ==
2.0
     Initial public version.