Appearance
You can use process managers to automate your backup
pm2 start ts-node index.ts db:backup --name dbbackup --cron "* * * * *"