#!/bin/bash

# Ensure scripts have execution permissions
chmod +x /home/app/maintenance.sh
chmod +x /home/app/data.py

# Run maintenance.sh once in the background
/home/app/maintenance.sh &

# Wait a few seconds to ensure maintenance.sh has started
sleep 2

/usr/bin/python3 /home/app/data.py
