[freeside-commits] freeside/bin tron-scan,NONE,1.1
Ivan,,,
ivan at wavetail.420.am
Thu Aug 21 20:01:08 PDT 2008
- Previous message: [freeside-commits] freeside/FS/FS Mason.pm, 1.1, 1.2 Tron.pm, NONE, 1.1 Conf.pm, 1.238, 1.239 cust_svc_option.pm, NONE, 1.1 cust_svc.pm, 1.75, 1.76 Schema.pm, 1.98, 1.99
- Next message: [freeside-commits] freeside/FS/t cust_svc_option.t,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv7768/bin
Added Files:
tron-scan
Log Message:
the master control program has chosen YOU to serve your system on the game grid
--- NEW FILE: tron-scan ---
#!/usr/bin/perl
use FS::UID qw(adminsuidsetup);
use FS::Conf;
use FS::Record qw(qsearch);
use FS::Tron qw(tron_scan tron_lint);
use FS::cust_svc;
adminsuidsetup shift;
my $conf = new FS::Conf;
my $mcp_svcpart = $conf->config('mcp_svcpart') or die "no mcp_svcpart";
#tron_scan($_) foreach qsearch('cust_svc', { 'svcpart' => $mcp_svcpart } );
foreach my $svc ( qsearch('cust_svc', { 'svcpart' => $mcp_svcpart } ) ) {
my $error = tron_scan($svc);
warn $error if $error;
my @lint = tron_lint($svc);
print $svc->svc_x->title. "\n". join('', map " $_\n", @lint )
if @lint;
}
1;
- Previous message: [freeside-commits] freeside/FS/FS Mason.pm, 1.1, 1.2 Tron.pm, NONE, 1.1 Conf.pm, 1.238, 1.239 cust_svc_option.pm, NONE, 1.1 cust_svc.pm, 1.75, 1.76 Schema.pm, 1.98, 1.99
- Next message: [freeside-commits] freeside/FS/t cust_svc_option.t,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list