add cronjob info
This commit is contained in:
parent
a5a5969642
commit
7094555f9f
@ -37,6 +37,12 @@ switch ($action) {
|
|||||||
$themes[] = $file;
|
$themes[] = $file;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$php = trim(shell_exec('which php'));
|
||||||
|
if(empty($php)){
|
||||||
|
$php = 'php';
|
||||||
|
}
|
||||||
|
$ui->assign('php', $php);
|
||||||
|
$ui->assign('dir', str_replace('controllers','', __DIR__));
|
||||||
$ui->assign('themes', $themes);
|
$ui->assign('themes', $themes);
|
||||||
run_hook('view_app_settings'); #HOOK
|
run_hook('view_app_settings'); #HOOK
|
||||||
$ui->display('app-settings.tpl');
|
$ui->display('app-settings.tpl');
|
||||||
|
@ -86,12 +86,12 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label text-muted">Enable Radius</label>
|
<label class="col-md-2 control-label text-muted">Enable Radius</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<select name="radius_enable" id="radius_enable" class="form-control text-muted" onchange="alert('still not worked yet :)\nbut you can see any feature on development')">
|
<select name="radius_enable" id="radius_enable" class="form-control text-muted">
|
||||||
<option value="0">No</option>
|
<option value="0">No</option>
|
||||||
<option value="1" {if $_c['radius_enable']}selected="selected" {/if}>Yes</option>
|
<option value="1" {if $_c['radius_enable']}selected="selected" {/if}>Yes</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<p class="help-block col-md-4 text-red">Radius Not Yet Ready</p>
|
<p class="help-block col-md-4"><a href="https://github.com/hotspotbilling/phpnuxbill/wiki/FreeRadius" target="_blank">Radius Instructions</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label text-muted">Radius Client</label>
|
<label class="col-md-2 control-label text-muted">Radius Client</label>
|
||||||
@ -333,6 +333,18 @@
|
|||||||
<pre>/ip hotspot walled-garden
|
<pre>/ip hotspot walled-garden
|
||||||
add dst-host={$_domain}
|
add dst-host={$_domain}
|
||||||
add dst-host=*.{$_domain}</pre>
|
add dst-host=*.{$_domain}</pre>
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
# Expired Cronjob Every 5 Minutes
|
||||||
|
*/5 * * * * cd {$dir} && {$php} cron.php
|
||||||
|
|
||||||
|
# Expired Cronjob Every 5 Minutes
|
||||||
|
0 * * * * cd {$dir} && {$php} cron.php
|
||||||
|
</pre>
|
||||||
|
<pre>
|
||||||
|
# Reminder Cronjob Every 7 AM
|
||||||
|
0 7 * * * cd {$dir} && {$php} reminder.php
|
||||||
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user