From 67ba9b7f15f16b58471969453f2b2f147d2270fa Mon Sep 17 00:00:00 2001 From: CaptainArk Date: Sun, 20 Mar 2016 22:30:57 +0100 Subject: [PATCH] mysql script fix --- content/mysqlbackup.md | 2 +- output/mysql-backup-script.html | 2 +- output/rss.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/mysqlbackup.md b/content/mysqlbackup.md index 302d1b5..97cef33 100644 --- a/content/mysqlbackup.md +++ b/content/mysqlbackup.md @@ -30,7 +30,7 @@ sqlbk() { done } -[[ -e /usr/bin/mysql ]] && sqlbk +[[ -e /etc/init.d/mysql ]] && sqlbk ``` I personnaly have this script running once a week, in my user's personnal crontab (editable using the `crontab -e` command) : diff --git a/output/mysql-backup-script.html b/output/mysql-backup-script.html index 05867e8..45b2f09 100644 --- a/output/mysql-backup-script.html +++ b/output/mysql-backup-script.html @@ -135,7 +135,7 @@ sqlbk() { done } -[[ -e /usr/bin/mysql ]] && sqlbk +[[ -e /etc/init.d/mysql ]] && sqlbk diff --git a/output/rss.xml b/output/rss.xml index 9381625..25c24b5 100644 --- a/output/rss.xml +++ b/output/rss.xml @@ -24,7 +24,7 @@ sqlbk<span class="o">()</span> <span class="o">{</span> <span class="k">done</span> <span class="o">}</span> -<span class="o">[[</span> -e /usr/bin/mysql <span class="o">]]</span> <span class="o">&amp;&amp;</span> sqlbk +<span class="o">[[</span> -e /etc/init.d/mysql <span class="o">]]</span> <span class="o">&amp;&amp;</span> sqlbk </pre></div>