migrated expire subscription codes to workflow
This commit is contained in:
parent
11a2c5d099
commit
2139b9e5d4
4 changed files with 90 additions and 13 deletions
|
|
@ -1,12 +0,0 @@
|
|||
package Hourly::ExpireSubscriptionCodes;
|
||||
|
||||
use strict;
|
||||
use WebGUI::SQL;
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
WebGUI::SQL->write("update subscriptionCode set status='Expired' where status = 'Unused' and dateCreated + expires < ".time);
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue