Browse Source

added full path togit-bakup in crontab

master
Robin Thoni 7 years ago
parent
commit
5d77f11a23
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      install

+ 1
- 1
install View File

11
 
11
 
12
 if [ ! -f /etc/cron.d/git-backup ]
12
 if [ ! -f /etc/cron.d/git-backup ]
13
 then
13
 then
14
-  echo "00 2    * * *   root    git-backup > /dev/null" > /etc/cron.d/git-backup &&
14
+  echo "00 2    * * *   root    /usr/local/bin/git-backup > /dev/null" > /etc/cron.d/git-backup &&
15
   service cron reload
15
   service cron reload
16
 fi &&
16
 fi &&
17
 
17
 

Loading…
Cancel
Save