Reliability
Check and notifications
Every 15 minutes the server checks itself: services, disk space, sites, certificates, background jobs, search and backups.
See it now:
luckybx checkWhere to report#
By email:
luckybx notify email admin@example.comTo Telegram. A bot is created by @BotFather, the chat number can be found with @userinfobot:
luckybx notify telegram BOT_TOKEN CHAT_NUMBERTest:
luckybx notify testStop reporting:
luckybx notify offA message arrives when a problem appears and when it goes away. On Mondays a weekly summary arrives, even if everything is fine. That way you can see notifications work.
Nightly cleanup#
Every night the server:
- deletes old sessions and temporary files;
- keeps the three latest dumps made before a database fix and before a Bitrix update;
- on Sundays tidies up tables that have grown large;
- once every 28 days checks and optimizes all tables;
- finds out whether there are Bitrix updates. It does not install them by itself.
Run it now:
luckybx maint run