The script currently lives in the home directory of the VPS instance that hosts Cloudron, and it updates a file exposed to the world by Surfer. Ideally there is a line or two I can add to the script (python) that sends an email if the script fails. Obviously Cloudron has some built-in capabilities for this, since it sends emails; can I access these capabilities easily? I'd like to avoid having to install an email client, set up users, etc.
81ewlska
Posts
-
I want to have a script send an email via Cloudron -
I want to have a script send an email via CloudronHeyo,
I have a script I'm going to run on my Cloudron server, it updates a .ics file hosted with Surfer. I'd like to receive an email at my regular (non-Cloudron) account when the login credentials stop working or for some other reason the script updating the .ics file fails.
Is there a way I can send emails from the script while leaving Cloudron email in its stock state? The automated emails it sends right now work just fine. I'd prefer not to have to enable receiving, set up user accounts, etc. This thread is tangentially related but didn't hit the nail on the head: https://forum.cloudron.io/topic/3965/use-cloudron-email-for-sending-email-smtp-on-application-hosted-outside-cloudron
Thanks for your help
-
Where should I put a .ics calendar file on a Cloudron server such that it's accessible from the web?There were a bunch of dangling images. Deleted those. Update failed because you no longer use AWS (....lol), but after https://forum.cloudron.io/post/59939
Update is complete. Well, 5 or 10 updates. Hey, everything kept working for years...!Surfer installed successfully. Thank you for your help!
Note to anyone doing this in the future: the updates will result in a lot of backups (which can be removed via the web interface or at /var/backups) and a bunch of dangling or unused docker images which can be removed with
docker system prune
or
docker system prune -a
-
Where should I put a .ics calendar file on a Cloudron server such that it's accessible from the web?Updates have been failing because not enough disk space. Now time to see what can be eliminated...
-
Where should I put a .ics calendar file on a Cloudron server such that it's accessible from the web?7.2.2 ... hmmm, if it requires 7.5.2 then it obviously hasn't been updating! I will investigate.
-
Where should I put a .ics calendar file on a Cloudron server such that it's accessible from the web?That sounds like a great solution, thanks!
When I try to install I see: Manifest error: Unknown property (not in schema) @ /addons/oidc
So there's something in Surfer's manifest my Cloudron doesn't recognize?
-
Where should I put a .ics calendar file on a Cloudron server such that it's accessible from the web?HI!
I've got a script that generates an updated .ics calendar file for me every day. I have a website (Wordpress / Cloudron / my own domain).
I'd like to put the script on the same VPS as Cloudron and run it as a cron job. How should I do this? Where should I put the file such that the script can access it and update it without messing it up, AND it will be accessible via URL?
I just don't 100% understand how Cloudron works and I don't want to mess it up by tinkering with its insides
I could use Wordpress's Media Library feature to upload a single .ics, then ssh into the server, find it on disc, and have the script update it there...?
Pete