hurrican
02-05-2005, 03:59 AM
Anyone know why when I try to call:
40 3 * * * root /usr/local/bin/php /home/forums/public_html/vb/delold.php
the cron script emails me an error of:
Date: Fri, 4 Feb 2005 03:40:00 -0600
From: Cron Daemon <root@localhost.localdomain>
To: root@localhost.localdomain
Subject: Cron <root@swish> /usr/local/bin/php /home/forums/public_html/vb/delold.php
Warning: main(./global.php): failed to open stream: No such file or directory in /home/forums/public_html/vb/delold.php on line 3
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/forums/public_html/vb/delold.php on line 3
I think my problem is not having the cron setup correctly.. This is a dedicated server in which I run myself with no other websites, so I have full root access.. Any suggestions?
40 3 * * * root /usr/local/bin/php /home/forums/public_html/vb/delold.php
the cron script emails me an error of:
Date: Fri, 4 Feb 2005 03:40:00 -0600
From: Cron Daemon <root@localhost.localdomain>
To: root@localhost.localdomain
Subject: Cron <root@swish> /usr/local/bin/php /home/forums/public_html/vb/delold.php
Warning: main(./global.php): failed to open stream: No such file or directory in /home/forums/public_html/vb/delold.php on line 3
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/forums/public_html/vb/delold.php on line 3
I think my problem is not having the cron setup correctly.. This is a dedicated server in which I run myself with no other websites, so I have full root access.. Any suggestions?