Hi,
Few hours late reporting this, just woke up
Bohler - GFS Run 2023-06-16-12z Missing, last good run was Bohler - GFS Run 2023-06-16-06z
Sam/Tom will be emailed after I post this.
Kindest Regards,
Tony
Hi,
Few hours late reporting this, just woke up
Bohler - GFS Run 2023-06-16-12z Missing, last good run was Bohler - GFS Run 2023-06-16-06z
Sam/Tom will be emailed after I post this.
Kindest Regards,
Tony
I think we need to replace you with some AI that’s awake 24*7 then you can have stress-free sleep
I have automated scripts that email me, auto forum post would be good
There are ways to do this by requesting an API key to allow a script to make API calls. I can give you some pointers if you’re interested in trying it.
Hi Chris. That sounds interesting.
I would be interested in looking into the Api option.
Kind Regards,
Tony
The API docs are here - https://docs.discourse.org/
Search for “Creates a new topic, a new post, or a private message”. There are lots of other API functions but a lot of them need Admin account elevated privileges.
If I’m reading this User API keys specification - #18 by vsoch - Developer Guides - Discourse Meta correctly then I’ll have to generate a user API key for you. If you want to try the API out let me know and I’ll dig deeper into what I need to do (my brain isn’t 100% functional at 04:00 🫨:rofl:)
PS. I dug a bit deeper and I see that I can create granular API keys for specific users. So I could create a key for you that allows you to create a new post but not do anything else.
Wow that sounds brilliant Chris.
I have done a bit of investigation, and I should be able to generate a php/curl file, with hidden api key etc.To post when run is missing etc.
This sounds perfect. Yes Please.
Kind Regards,
Tony
I’ll look at creating a key for you when I’ve had my breakfast.
As an extra thought, both Tom and Sam have accounts on the forum so your script could also be used to send PMs to them which should generate a notification email.
Hi Chris,
Thanks so much for this, getting better.
Sadly I’ll be off to bed soon had an early morning, been coding all day.
That’s brilliant about the PM’s too.
Kindest Regards,
Tony
As a further, further thought. The response to creating a topic/post should return the topic and post number. If you store those then if the data later becomes available you could update the post.
Your API key is waiting in a PM for you tomorrow.