You make a call in php CLI and try to use the QUERY STRING data which is specific to the web server. You will need to either update the script to accept the parameters, or call it using a program such as lynx , curl or wget
So make a system call something like this:
system("wget http://yourdomain.com/path/to/file.php?params=1 > /dev/null");
Then you should execute this script using a web server that will allow QUERY STRING .
EDIT:
Ability to use your variables: (Please note that after compilation, a slash may be required.
system("wget http://yourdomain.com" . $row['cron_action_script_path'] . $row['params'] . " > /dev/null");
Brad f jacobs
source share