I have made changes in crontab using following users
- Login as root>crontab -e > /5 * * * /usr/bin/php -q /var/www/html/osticket/api/cron.php>:wq>reload cron
- Login as local user(amar)>crontab -e > /5 * * * /usr/bin/php -q /var/www/html/osticket/api/cron.php>:wq>reload cron.
- Login as root>crontab -u www-data -e > /5 * * * /usr/bin/php -q /var/www/html/osticket/api/cron.php>:wq>reload cron.
Exactly what should i use in the above users. Thanks. I am sharing some screen shots that cron is executing.