Jump to content

Recommended Posts

Posted

Thanks to those who gave very helpful replies on the thread "Papercut Is it possible to have only Shared Accounts Charged - not Users?".

 

A bit of extra advice, please. After a meeting yesterday School has changed strategy with charging departments for printing.

Instead of a cut off limit i.e. £5 per month, they would like to give departments (these have been set up as departments in Accounts) unlimited printing that is charged on a monthly basis.

 

1. What is the best way to set this up in the Accounts section? I tried to set it at £0.00 / unrestricted and allow the accounts to roll up a deficit and then take the amount to charge the department at the end of the month. I'm not sure this is the best way because of the next point

 

2. I want the system to reset the balance on a monthly basis so as a new charging period is started. Am I better to still put in a

 

Thanks for any advice

Posted

Question 2:

 

I have a report emailed to finance and also 5 minuets after the report we have a scheduled task to reset the shared account balances using this CMD script.

 

@echo off

set SERVER_COMMAND="%~d0%~p0..\..\..\..\bin\win\server-command.exe"

FOR /f "delims=" %%A in ('%SERVER_COMMAND% list-shared-accounts') do (
%SERVER_COMMAND% set-shared-account-account-balance "%%A" +0.00 "Monthly reset"
)

:_End

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...