summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/billco-upload14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/billco-upload b/bin/billco-upload
new file mode 100644
index 000000000..4efc18005
--- /dev/null
+++ b/bin/billco-upload
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+
+use FS::UID qw(adminsuidsetup);
+use FS::Cron::upload;
+
+adminsuidsetup shift or die "usage: billco-upload username agentnum\n";
+my $agentnum = shift or die "usage: billco-upload username agentnum\n";
+
+FS::Cron::upload::billco_upload( 'agentnum' => $agentnum
+ 'v' => 1,
+ 'l' => 2,
+ );
+
+1;