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>