[FIX]Odoo Backups : fix usage of OBPLAN in case of CRON Bash

This commit is contained in:
Fabien BOURGEOIS 2024-01-08 07:59:05 +01:00
parent 1ed86ce696
commit db5901c051
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
#!/bin/bash
# Needed for cron and OBPLAN usage
printenv >> /etc/environment
set -f
echo '#!/bin/bash' > /home/odoo/backup.sh
index=0