Hi,
I want to setup the cronjob for the email settings. Atm only when I am online I get the notification about new tickets when someone send a email to support@. I used the the documentation for setup on my debian server, but it doesnt work. I tried
*/2 * * * * www-data /usr/bin/php /var/www/html/osticket/api/cron.php
and also with other users, but doesn't work. I get errors like "/bin/sh: 1: www-data: not found". Same when I use root.
So I also tried with API-key:
*/2 * * * * root wget -q -O /dev/null --user-agent=F021488EF108E00EAXXXXXXXXXXXXX https://support.example.com/api/cron.php
same problem. When I use the command in the shell I get no error but also don't reveive am e-mail.
What am I doing wrong??