'Scheduling a bash script? [duplicate]

I'm using a raspberry pi for a digital art project by displaying images in a ascii form on a monitor but I would like it to rotate through random images in the folder every hour. I have a bash script set up to just run the basic command down below.

ascii-image-converter Pictures/IMAGE HERE.png -c -C --color-bg -f -m " .-=+!@#$%&*()"

How would I add a random function to this command and time the bash script to run at certain intervals?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source