clone this repo https://github.com/agilsaputra/cron_python_script
installing cron in your terminal debian/ubuntu sudo apt-get install cron
then open cron crontab -e
choose your editor
then write "cron" file in yours cron editor
you can check to change shedule time https://crontab.guru/