Skip to content

Commit 59ce02e

Browse files
author
joseneto
committed
minor change
1 parent 4739032 commit 59ce02e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ else
2121
touch /var/log/cron.log;
2222
echo "$BACKUP_WINDOW /backup/variable.sh & /backup/functions.sh >> /var/log/cron.log 2>&1" >> job;
2323
echo "" >> job
24-
cron job;
24+
crontab job;
2525
tail -f /var/log/cron.log;
2626
exit $?
2727

functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fi
1616

1717
make_backup () {
1818

19-
if ["$DEBUG" == "true" ]; then
19+
if [ "$DEBUG" == "true" ]; then
2020
echo "######################################"
2121
echo "MYSQL_HOST = $MYSQL_HOST"
2222
echo "MYSQL_PORT = $MYSQL_PORT"

0 commit comments

Comments
 (0)