tags:

views:

102

answers:

1

I have a cron job on my host:

/ramdisk/bin/php5 -q /home2/sharingi/public_html/scrape/copyV2.php

That is just plain not running. The 'support' is telling me that -q is quiet mode and that is why I am not receiving any output emails of any kind...

However all my other cron jobs have been and are running with -q and have been sending me output emails... for months.

I was searching around but can't find what the -q flag does...

+5  A: 

The -q flag suppresses HTTP header output. As long as your script itself does not send anything to stdout, -q will prevent cron from sending you an email every time the script runs. For example, print and echo send to stdout. Avoid using these functions if you want to prevent cron from sending you email.

St.Woland
So the admin is wrong. It should be sending me output as my first line is ' <? echo 'is this running?'; ?>
ian