autocommit
This commit is contained in:
parent
da5d5eec1e
commit
866ff52c76
1
cron.sh
1
cron.sh
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
LOG_FILE="/data/logs/cron.log"
|
LOG_FILE="/data/logs/cron.log"
|
||||||
|
mkdir -p $(dirname $LOG_FILE)
|
||||||
exec > $LOG_FILE 2>&1
|
exec > $LOG_FILE 2>&1
|
||||||
|
|
||||||
if [ "$(id -u)" != "0" ]; then
|
if [ "$(id -u)" != "0" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user