Skip to content
Snippets Groups Projects
Verified Commit e8c61f31 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

swh-web/entrypoint: Drop unused cron entry

parent 743358ce
No related branches found
Tags swh-vault-20250321.1
No related merge requests found
......@@ -16,16 +16,6 @@ case "$1" in
echo "django-admin sync-mailmaps routine"
exec sh -c "date && django-admin sync_mailmaps $@"
;;
"cron")
echo "Start periodic save code now refresh statuses routine (in background)"
exec sh -c 'trap exit TERM INT; while :; do
(date && django-admin refresh_savecodenow_statuses \
--settings=${DJANGO_SETTINGS_MODULE} 2>&1)
sleep 15 &
wait ${!}
done'
;;
*)
echo "Starting the swh-web server"
# run gunicorn workers as in production otherwise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment