repo-cloner/dockerbin/launch-cron

15 lines
248 B
Plaintext
Raw Normal View History

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