docker_images/odoo/backups/launch.sh

6 lines
193 B
Bash
Raw Normal View History

2016-10-05 08:56:58 +02:00
#!/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