Repository navigation
docs(install): Scheduled jobs, the queue and Redis - #111
Merged
Merged
Conversation
…background, cron, and Redis setup Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi
gloriafolaron
requested review from
marcelfolaron
and
a balanced review from Copilot
November 22, 2026 23:24
There was a problem hiding this comment.
🟡 Changes recommended
The deployment guidance can cause Redis authentication failures and duplicate notification emails, and omits matching settings required for shared caches and sign-in limits.
3 open issues
What changed in this PR
Adds a central self-hosting guide for scheduled jobs, queue processing, and Redis, with related documentation pointing to it.
Changes:
- Documents scheduler setup, browser-triggered fallback limitations, and troubleshooting.
- Explains when Redis helps, how to configure it, and what happens during an outage.
- Updates cron guidance and adds the new page to navigation.
| File | Description |
|---|---|
using-leantime/notifications.md |
Points delayed-email troubleshooting to the new guide. |
plugins/recurring-todos.md |
Updates scheduler setup and troubleshooting links. |
installation/shared-hosting.md |
Clarifies cron responsibilities and links setup guidance. |
installation/scheduled-jobs-and-redis.md |
Adds the scheduler, queue, and Redis guide. |
installation/plugin-licenses.md |
Clarifies when daily license checks may be skipped. |
installation/email-configuration.md |
Updates the scheduler setup link. |
installation/configuration.md |
Shortens cron guidance while preserving its anchor. |
development/commandline.md |
Notes skipped daily jobs and links the new guide. |
_sidebar.md |
Adds the guide under Configuration. |
Review effort: Balanced
…and session key, no password for the Compose example Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi
…e isn't tied to 3.15 Leantime 3.16.0 adds a daily oauth:purge job (Domain/Oauth/register.php). The Docker image's supervisord always starts schedule:work, whatever the Leantime version, so drop "in 3.15". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ConsoleKernel::schedule() sets schedule_timezone to UTC, so the daily jobs don't follow LEAN_DEFAULT_TIMEZONE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Pushed two commits: the daily jobs run at midnight UTC ( |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

A new page, Scheduled jobs, the queue and Redis (
installation/scheduled-jobs-and-redis.md, self-hosted only). Checked on Leantime 3.15.3.What the page covers
schedule:liston 3.15.3. Plugins can add their own jobs (CalDAV'scaldav-syncis the example).schedule:work./cron/run(no sign-in needed).LEAN_DEFAULT_TIMEZONE, so most days they're skipped: report snapshots, plugin license checks and plugin updates.LEAN_POOR_MANS_CRON=falseturns off the browser requests once cron runs.schedule:list,schedule:testand the logs.Tested on throwaway 3.15.3 containers (removed after)
LEAN_REDIS_SCHEMEnot set: Leantime connects with TLS. Pages hang until they time out, and the scheduler exits with "SSL: Handshake timed out".LEAN_REDIS_SCHEME = ''(as in the Dockersample.env): every page returns 500.tcp, orLEAN_REDIS_URL = 'tcp://…'on its own;LEAN_REDIS_PASSWORD;cache:clearkeeps people signed in;LEAN_POOR_MANS_CRON=falseremoves the browser's/cron/runrequests./cron/runanswers 200 with an empty body, without sign-in.Other pages
#cron-jobsanchor stays.The Starlight branch (#63) gets the page's metadata and a menu entry after Reverse proxy (a9b6195).
Checks
On the #63 build:
check:headingspasses;check:seoflags onlydevelopment/security.mdhaving no inbound links, which is already the case on master and fixed by docs(install): Secure your Leantime server, a security checklist for self-hosted installs #110;🤖 Generated with Claude Code
https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi