There is provided a computer-implemented method for controlling dispensing of at least one biologically active agent in intermittent doses over discrete predefined time periods, comprising the steps of: (i) initiating the dispensing of the biologically active agent in intermittent doses at a first background dosage rate; and (ii) adjusting to a background dosage rate according to the number of input signals received over each predefined time period from a signalling device.