LotGDocker/lotgd-web/lotgd/cron.php

15 lines
397 B
PHP
Raw Permalink Normal View History

2020-08-17 19:16:42 -04:00
<?php
define("ALLOW_ANONYMOUS",true);
//enter your directory HERE! i.e. /home/myname/lotgd
$dir='/yourdir';
//end of admin modifications
chdir($dir);
require_once("common.php");
savesetting("newdaySemaphore",gmdate("Y-m-d H:i:s"));
if ($dir!='') {
require("lib/newday/newday_runonce.php");
}
/* Prevent execution if no value has been entered... if it is a wrong value, it will still break!*/
?>