I have a PHP file that is needed to be run from the command line (via crontab). I need to pass type=daily to the file, but I don’t know how. I tried: but this error was returned: Could not open input file: myfile.php?type=daily What can I do? Answer The ?type=daily argument (ending up in the $_GET array) is only valid