Browse Source

silent run in cron

master
Robin Thoni 8 years ago
parent
commit
3af42df35a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      install

+ 2
- 2
install View File

@@ -2,7 +2,7 @@
2 2
 
3 3
 cp git-backup /usr/local/bin
4 4
 cp git-backup.conf /etc
5
-sed -i '/git-backup$/c\' /etc/crontab
6
-echo "00 2    * * *   root    git-backup" >> /etc/crontab
5
+sed -i '/git-backup/c\' /etc/crontab
6
+echo "00 2    * * *   root    git-backup > /dev/null" >> /etc/crontab
7 7
 
8 8
 git-backup --init

Loading…
Cancel
Save