projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
71513: Card tokenization [upgrade implemented]
[freeside.git]
/
FS
/
FS
/
Cron
/
cleanup.pm
diff --git
a/FS/FS/Cron/cleanup.pm
b/FS/FS/Cron/cleanup.pm
index
6ec4013
..
9d0c067
100644
(file)
--- a/
FS/FS/Cron/cleanup.pm
+++ b/
FS/FS/Cron/cleanup.pm
@@
-8,12
+8,26
@@
use FS::Record qw( qsearch );
# start janitor jobs
sub cleanup {
# start janitor jobs
sub cleanup {
-# fix locations that are missing coordinates
+ my %opt = @_;
+
+ # fix locations that are missing coordinates
my $job = FS::queue->new({
'job' => 'FS::cust_location::process_set_coord',
'status' => 'new'
});
$job->insert('_JOB');
my $job = FS::queue->new({
'job' => 'FS::cust_location::process_set_coord',
'status' => 'new'
});
$job->insert('_JOB');
+
+ # check card number tokenization
+ $job = FS::queue->new({
+ 'job' => 'FS::cust_main::Billing_Realtime::token_check',
+ 'status' => 'new'
+ });
+ $job->insert(
+ %opt,
+ 'queue' => 1,
+ 'daily' => 1,
+ );
+
}
sub cleanup_before_backup {
}
sub cleanup_before_backup {