Markbad311
09-09-2007, 01:56 PM
Hi guys having a little problem with setting up some crontabs. I set up a test one.
CRONTAB:
* * * * * /usr/local/bin/php /home/eriebusi/public_html/quickleadconnect/Scripts/test.php
EXECUTING PHP:
<?php
//GLOBAL INCLUDES////////////////////
require('funcs.php');
require('errors.php');
//END GLOBAL INCLUDES////////////////
$sql = "INSERT INTO `tracking` (`TrackID`, `SysID`, `AppID`, `EID`, `TrackType`, `TrackDate`) VALUES('', '0', '0', '0', '99', NOW())";
$result = mysql_query($sql) or die(LogError('test.php Line 21: '.mysql_error(),$sql));
?>
in the tracking table no rows are inserted after 12 hours of checking. The script executes and insterts if I just connect to it. (QuickLeadConnect is a subdomain/addon domain.)
CRONTAB:
* * * * * /usr/local/bin/php /home/eriebusi/public_html/quickleadconnect/Scripts/test.php
EXECUTING PHP:
<?php
//GLOBAL INCLUDES////////////////////
require('funcs.php');
require('errors.php');
//END GLOBAL INCLUDES////////////////
$sql = "INSERT INTO `tracking` (`TrackID`, `SysID`, `AppID`, `EID`, `TrackType`, `TrackDate`) VALUES('', '0', '0', '0', '99', NOW())";
$result = mysql_query($sql) or die(LogError('test.php Line 21: '.mysql_error(),$sql));
?>
in the tracking table no rows are inserted after 12 hours of checking. The script executes and insterts if I just connect to it. (QuickLeadConnect is a subdomain/addon domain.)