I’ve got this in my crontab:
15 * * * * * /usr/local/bin/php /usr/www/virtual/username/analytics.domain.com/misc/cron/archive.php --url=http://analytics.domain.com/ >> /usr/www/virtual/username/analytics.domain.com/cronlog.log 2>&1
Every time it runs as the apache user (which is different than the main user) I get this in the cronlog.log:
*: not found
But when I run it as the main user I get this:
220.127.116.11.txt: not found
I have absolutely no idea why this is happening. When I run the script manually via either user it runs perfectly fine, but not in cron.