summaryrefslogtreecommitdiff
path: root/bin/billco-upload
diff options
context:
space:
mode:
Diffstat (limited to 'bin/billco-upload')
-rw-r--r--bin/billco-upload15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/billco-upload b/bin/billco-upload
new file mode 100644
index 000000000..a5f67cda4
--- /dev/null
+++ b/bin/billco-upload
@@ -0,0 +1,15 @@
+#!/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,
+ 'date' => time,
+ 'v' => 1,
+ 'l' => 2,
+ );
+
+1;