[Cialug] Cron PHP job

Chris Van Cleve vanish at dreamscapevisionery.com
Thu Sep 28 14:18:03 CDT 2006


I have a cron job set to run every night at 12:05 AM. It's executes a PHP
script that backs up a MySQL database server, pipes the output through
gzip, then removes any backups older than 7 days.

When run from the command line, it runs perfectly fine. When run through
cron, I get an 8KB gzip file rather than a 20MB gzip file. Any ideas why
the script runs successfully, but doesn't actually dump the databases when
executed via cron?

I'm stumped.


-- 
Chris 'Vanish' Van Cleve
CEO, FOunder
DreamScape Visionery



More information about the Cialug mailing list