[FIX]Odoo Backups : fix usage of OBPLAN in case of CRON Bash
This commit is contained in:
parent
1ed86ce696
commit
db5901c051
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Needed for cron and OBPLAN usage
|
||||||
|
printenv >> /etc/environment
|
||||||
|
|
||||||
set -f
|
set -f
|
||||||
echo '#!/bin/bash' > /home/odoo/backup.sh
|
echo '#!/bin/bash' > /home/odoo/backup.sh
|
||||||
index=0
|
index=0
|
||||||
|
|
Loading…
Reference in New Issue