Click to See Complete Forum and Search --> : Simple CRONTAB


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.)

Markbad311
09-09-2007, 03:43 PM
FYI: I am setting this up in cPanel under the advanced tab. It seems like I am missing a switch somehow.

Markbad311
09-10-2007, 07:02 AM
bump.. I am in the wrong place for this question or no one knows?