I have the following cron job command:
* * * * * /usr/bin/lynx -term=vt100 http://abc.com/dir1/di2/script.php?action=add&config=xyz >/dev/null 2>&1
My PHP script does not recognize _GET ['config'], and I get a "Cron Daemon" message that seems to warn me that the crontab command is incorrect.
If I select the second _GET var, I do not receive the email “Cron Daemon”.
Any thoughts or suggestions on how to define multiple query string elements in a crontab job?
By the way, I tried the Encode char URL for ampersand, and that didn't work either.
source
share