Subj : Re: message base & python
To : Edmund Wong
From : Jay Harris
Date : Tue Dec 07 2021 07:52 am
On 07 Dec 2021, Edmund Wong said the following...
EW> Does anyone know if it's possible to use a system-binary python
EW> to post messages directly into the Mystic message base? I'm hoping
EW> to create a script to post messages directly to a local message
EW> base.
I don't know about python, but you can use mutil to post messages to any base you like.
In this example I use a script to fetch the weather and put it into a text file (/tmp/weather.txt). The baseidx is the index number of the message base you want to post to. Fill out the other details and then just run ./mutil weather.ini and your message is posted.
Jay
... When the cows are sleeping in the field, it's pasture bed!