These scripts are called usually with cron with something like the following
0 0 * * * /root/duplicacy.sh
/opt/bitwarden