To run your Python Flask application on Hostinger, start the background process using SSH or a Cron Job:
1. In Hostinger hPanel, go to Advanced > SSH Access and copy your SSH command.
2. Open your computer terminal, connect to SSH, and run:
cd public_html && python3 run.py &
1. In Hostinger hPanel, go to Advanced > Cron Jobs.
2. Set command to run once:
cd /home/u682170155/domains/tenanthrx.com/public_html && python3 run.py > flask_app.log 2>&1 &
Server log output:
No log generated yet.🔄 Refresh After Starting