From bceb7790275c2fd9b6df43f34ed38c0f388f4614 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Sat, 28 Apr 2018 23:56:30 +0200 Subject: [PATCH] fix crontab on mysqlbackup install script --- bin/mysqlbackup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mysqlbackup.sh b/bin/mysqlbackup.sh index 9a12386..27a46e2 100755 --- a/bin/mysqlbackup.sh +++ b/bin/mysqlbackup.sh @@ -37,6 +37,6 @@ sed -i "s/ROOTPASSWD/$_root_mysql_passwd/g" /usr/local/bin/mysqlbackup.sh # creating crontab touch /var/spool/cron/crontabs/root crontab -l > /tmp/mycron -echo -e "30 2 */2 * * /usr/local/bin/mysqlbackup.sh" >> /tmp/mycron +echo "30 2 */2 * * /usr/local/bin/mysqlbackup.sh" >> /tmp/mycron crontab /tmp/mycron rm /tmp/mycron