Automatic delete videos older than 21 Days

Good day‎

‎Mission:‎
‎ I use the cloud as a video surveillance storage. Now thousands of videos with a size of several GB are stored there every day. After about 1.5 months, the memory is full.‎

‎Idea:‎
‎ Since the cloud software does not offer such functions, I wrote a batch (.bat) file on my PC and as task planning every day assigned to delete files older than 21 days. It works, too.‎

‎Issue:‎
‎ I want to run this batch file or any other way of daily deletion from the PC. Can you somehow program the cloud to run this batch file regularly or else get you to delete videos older than 21 days?‎

‎Best regards‎