tuning cron using expiration date

This commit is contained in:
Ibnu Maksum 2023-08-23 08:58:18 +07:00
parent 136b7be164
commit cefc6c0365
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -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