Setup a bash script in /home/cyberpanel/public/ e.g.
fxdiskcleaner.sh
#!/usr/bin/env bash
# start delete any files older than 1 day
find /home/fxdisk.site/public_html/Application/storage/app/chunks -type f -mtime +1 -delete
Then run it like a cronjob : 7 - Cron Jobs
Notes:
If the app is laravel Help me with cronjob laravel cronjob on cyberpanel - #5 by usmannasir setup php artisan cache:clear
e.g.
cd /home/fxdisk.site/public_html && /usr/local/lsws/lshphp74/bin/php artisan cache:clear >> /dev/null 2>&1
setup a cronjob for a php file Setup a cronjob for a php file - #8 by josephgodwinke