prophunt-garrysmod/cronTest/initCron.sh
2019-07-21 23:04:00 +02:00

17 lines
346 B
Bash

#!/bin/sh
if [ "${DEBUGGING}" = "true" ]; then
set -o xtrace
fi
set -o errexit
set -o pipefail
set -o nounset
#set up cronjob
rm -f "$STEAM_PATH/lgsm-cronjobs" || true
touch "$STEAM_PATH/lgsm-cronjobs"
# false positive
echo "*/1 * * * * date >> date.log" >> "$STEAM_PATH/lgsm-cronjobs" # out on release
echo "" >> "$STEAM_PATH/lgsm-cronjobs"