Hello, Unfortunately, I was not successful in running files with CRON. Can you help with this? Examples; Code: /usr/bin/php -q /var/www/clients/client2/web2/folder/example.php , and Code: wget https://example.com/app/cron/example.php This is at the top of the PHP File; Code: #!/usr/bin/php -q But it still doesn't work, I guess I'm missing something. Thank you.
Are you using chroot cronjobs? If so, the path to the script should be just /folder/example.php. For the second, enter just the url as the cronjob.
Just enter the URL in the cronjob command field, do not put wget in front of it: Code: https://example.com/app/cron/example.php