def heartbeat(): """ A heartbeat, used to confirm that celery is alive and kicking. This heartbeat will stop if either celery or celeryd go down. """ write_file_heartbeat() write_cache_heartbeat()