What you're missing is the |
pipe operator. Currently what you're doing is using >>
which will append to a file, and add junk to the right-side script.
What you really want to do is something like:
* * * * * php -q /path/to/first.php | php -q /path/to/read_stdin.php
This pipes the stdout of the left-side php script to the right hand side php script, which you can read with fopen('php://stdin', 'r');
for example.
Pipes are really handy and wikipedia knows more about them, if you want to learn some more.