mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-31 23:20:43 +02:00
tuning cron using expiration date
This commit is contained in:
parent
136b7be164
commit
cefc6c0365
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ date_default_timezone_set($config['timezone']);
|
|||
|
||||
$textExpired = $_notifmsg['expired'];
|
||||
|
||||
$d = ORM::for_table('tbl_user_recharges')->where('status', 'on')->find_many();
|
||||
$d = ORM::for_table('tbl_user_recharges')->where('status', 'on')->where('expiration', date("Y-m-d"))->find_many();
|
||||
|
||||
run_hook('cronjob'); #HOOK
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue