File scripts/cron.php changed (mode: 100644) (index 07df3f2..5d9d36e) |
... |
... |
rg_lock_or_exit("cron.lock"); |
31 |
31 |
|
|
32 |
32 |
rg_log("Start (ver=$rocketgit_version)..."); |
rg_log("Start (ver=$rocketgit_version)..."); |
33 |
33 |
|
|
|
34 |
|
$hostname = rg_state_get($db, 'hostname'); |
|
35 |
|
$http_allow = rg_state_get($db, 'http_allow'); |
|
36 |
|
$https_allow = rg_state_get($db, 'https_allow'); |
|
37 |
|
rg_base_url_build($hostname, $http_allow, $https_allow); |
|
38 |
|
rg_log('DEBUG: base_url=' . rg_base_url()); |
|
39 |
|
|
34 |
40 |
if (gmdate("Hi") == "0305") |
if (gmdate("Hi") == "0305") |
35 |
41 |
rg_clean_logs('/var/log/rocketgit'); |
rg_clean_logs('/var/log/rocketgit'); |
36 |
42 |
|
|