How to Automatically Take Screenshots In Ubuntu At Regular Interval
2021-04-25T11:15:00+02:00How To Make Ubuntu (operating system)

Scrot is a screen capture utility.
According to
Příklad on Ubuntu 16.04
This script will creates 180 screenshots (one per minute) in the home folder:
cd ~
for i in {1..180}; do scrot '%FT%T.jpg' -d 60; done