6 lines
193 B
Bash
6 lines
193 B
Bash
#!/bin/bash
|
|
|
|
envsubst < /home/odoo/backup.template > /home/odoo/backup.sh
|
|
chown odoo:odoo /home/odoo/backup.sh
|
|
crontab ./crontab && touch /var/log/cron.log && cron && tail -f /var/log/cron.log
|