Hello,
I need some assistance with setting up a cronjob in DirectAdmin.
Here is the code that I want to execute every hour.
PHP Code:
<? include 'includes/connect.php';
mysql_query("UPDATE `bullet_factories` SET `bullet_stock`=`bullet_stock`+250");
?>
(There's nothing wrong with that, right?)
Here is the path to my file:
home/admin/domains/mydomain.com/public_html/cronjobs/mycron.php
(domain changed)
I have everything set to '*', and hour set to '0'.
Whats wrong!?
Last edited by Declan; 04-10-2009 at 04:22 PM..
|