tuning cron using expiration date
This commit is contained in:
parent
136b7be164
commit
cefc6c0365
@ -66,7 +66,7 @@ date_default_timezone_set($config['timezone']);
|
|||||||
|
|
||||||
$textExpired = $_notifmsg['expired'];
|
$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
|
run_hook('cronjob'); #HOOK
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user