Python Forum
Python script in Ubuntu core
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python script in Ubuntu core
#1
Hi All,

Am not from a Programming background, but i need to test something like below and need your support

We have a Gateway running on Linux Ubuntu core from where we are collecting the data and storing it on the cloud which is supported by the software.

The Gateway is connected with a 4G LTE (4G sim) USB Dongle and connected to cloud.
Incase for some reason the connectivity gets disconnected the data logging shouldn't stop, so

1. Need to create a local MariaDB Mysql database for storing the data locally in Gateway hardware when network is down (should detect network is down and start storing it in DB)
2. Once the network is up and working again automatically the stored data in DB along with the current data logging should start copying back again to cloud.

Can someone support on this.
Other suggestions are also welcomed
Thanks.
Reply


Messages In This Thread
Python script in Ubuntu core - by Nithin_Kumar - Apr-30-2021, 08:40 AM
RE: Python script in Ubuntu core - by Skaperen - May-11-2021, 01:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,476 Jun-29-2023, 11:57 AM
Last Post: gologica
  Illegal instruction (core dumped) when import pandas. amandacstr 1 2,194 Dec-31-2022, 11:31 PM
Last Post: stevendaprano
  Python in Singularity Container on Ubuntu erdemath 0 945 Aug-31-2022, 02:17 PM
Last Post: erdemath
  Python icons in Ubuntu KatManDEW 4 86,883 Aug-12-2022, 08:33 AM
Last Post: rob101
  ImportError: /home/ali/Documents/test/charm/core/crypto/AES.cpython-39-x86_64-linux-g Anldra12 0 1,276 Apr-28-2022, 07:13 AM
Last Post: Anldra12
  Python 3.8 on Ubuntu 20.04 erdemath 1 1,411 Mar-07-2022, 09:31 PM
Last Post: Larz60+
  Segmentation fault (core dumped) hobbyist 1 10,655 Jun-07-2021, 12:56 PM
Last Post: supuflounder
  Python Program running a lot slower after change to Ubuntu hubenhau 1 2,961 Mar-02-2021, 05:01 PM
Last Post: Serafim
  How to kill a bash script running as root from a python script? jc_lafleur 4 6,028 Jun-26-2020, 10:50 PM
Last Post: jc_lafleur
  crontab on RHEL7 not calling python script wrapped in shell script benthomson 1 2,365 May-28-2020, 05:27 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020