#!/bin/bash set -e rm celerybeat.pid || echo "celerybeat.pid not found, proceeding" celery -A posthog beat -S redbeat.RedBeatScheduler -n node@%%h