We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1ad897 commit 6f485b0Copy full SHA for 6f485b0
dockerfiles/entrypoints/celery-beat.sh
@@ -4,6 +4,11 @@
4
5
CMD="python3 -m celery -A ${CELERY_APP_NAME}.worker beat -l ${CELERY_LOG_LEVEL}"
6
7
+# Not sure why, but the db becomes corrupted at some point
8
+# and make the startup of this process to fail.
9
+# Removing it makes Celery to re-create it.
10
+rm -f celerybeat-schedule.db
11
+
12
if [ -n "${DOCKER_NO_RELOAD}" ]; then
13
echo "Running process with no reload"
14
$CMD
0 commit comments