Nextcloud - Cron Setup not working

/usr/bin/php -f /home/user/web/(your domain name)/public_html/cron.php connand is not working for me it shows:
Console has to be executed with the user that owns the file config/config.php
Current user id: 0
Owner id of config.php: 1003
how to solve it?

Create a cronjob under the user that you need…

what will be the command for owner id 1003?

How did you install next cloud?

from hestia installer.

Then it should be the same user where it is installed under

ls /home/user/web/domain/publick_html/

It may help.
Cron jobs Nextcloud

Woow! its really helpful!!
I was unable to understand command section.
thank you very much!