Repository navigation
How do I check that the external cron is calling the tick, and what happens when it stops? #569
Answered
by
lumenpearson
lumenpearson
asked this question in
Q&A
|
I set up a cron job that calls |
Answered by
lumenpearson
Oct 17, 2026
Replies: 1 comment
|
Check three places (nothing warns if cron stops; self-check runs inside the tick):
When the ticks stop:
More: docs/deploy.md, The external cron, and the tick's section in docs/api.md. |
0 replies
Answer selected by
lumenpearson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/projectand the self-check exist since the monitoring merge (#359, 6 October 2026); older commits have only cron history.Check three places (nothing warns if cron stops; self-check runs inside the tick):
curl -fsS -X POST -H "X-Cron-Secret: $CRON_SECRET" https://<your-host>/api/v1/cron/tick. This is a real tick, safe since digests send once. The endpoint takes GET and POST; use POST, since GET may go (#269).200with JSON counts (morning,evening,tasks, …): the tick works.403 Bad cron secret: the header is not the server'sCRON_SECRET.404 Cron is not configured: the server has noCRON_SECRET.503: the server has noBOT_TOKEN.