I have a bash script that backs up some files to a remote server using rclone. I want to run this script once every week.
The script asks me two questions: it confirms if I want to run it at that point in time and then it asks for the password for the remote server.
Its easy enough to run a scheduled bash script using cron or launchd. However, the bash script requires user input. AFAIK both launchd and cron run daemons in the background. Ideally, it would launch an instance of the Terminal window and run the script in there.
What's the best way to go about this?
Thank you for the help!