Jump to content

Archived

This topic is now archived and is closed to further replies.

fluentvoo

php help with an asterix

Recommended Posts

I am hoping you all knowing php folks can help me out, i have been running a script in a cron job for about a year now.. It had no problems until about 2 weeks ago, when it stopped working. the code was this

#!/bin/sh
/usr/local/lib/php -q /www/v/voodoosdumpc/htdocs/tdm_stats/mohstats.php /www/v/voodoosdumpc/htdocs/tdm_stats/*.log

it used to parse all the log files as long as they ended in .log

for some reason, php no longer recognizes the * as meaning all files.. it thinks there is a file named *.log instead all the files ending in .log

any help is greatly appreciated

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.