repo-cloner/dockerbin/launch-cron

15 lines
245 B
Plaintext
Raw Normal View History

#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# make parallel citation shut up
mkdir ~executor/.parallel
touch ~executor/.parallel/will-cite
# repair ownership
find /data \! -user executor -exec chown executor:executor {} \;
# run cron
crond -f