Server, control method therefor, and non-transitory storage medium
A server for receiving a print job from a print service that has received the print job from an information processing apparatus accesses the print service, manages a condition concerning access to the print service, manages a status of past access to the print service, and determines, based on the status of past access, whether the condition is not to be satisfied by newly accessing the print service. In a case where it is determined the condition is not to be satisfied, new access to the print service is ceased, and in a case where the print service is not accessed since the condition is not to be satisfied, after a wait time for an individual processing elapses, access the print service with respect to the individual processing is retried.
1. A server for receiving a print job from a print service that has received the print job from an information processing apparatus, the server comprising at least one processor circuit and a memory storing instructions, with the processor circuit executing the instructions to:
access the print service;
manage a condition concerning access to the print service;
manage a status of past access to the print service; and
determine, based on the status of past access, whether the condition is not to be satisfied by newly accessing the print service,
wherein the processor circuit further executes the instructions to:
in a case where it is determined the condition is not to be satisfied, cease to newly access the print service, and
in a case where the print service is not accessed since the condition is not to be satisfied, after a wait time for an individual processing elapses, retry to access the print service with respect to the individual processing.
2. The server according to claim 1 , wherein the instructions are further executed to decide a length of the wait time based on a priority level of the individual processing.
3. The server according to claim 1 , wherein the instructions are further executed to, in a case where the individual processing is to receive print data from the print service, decide the wait time based on an expected time taken to receive the print data.
4. The server according to claim 1 , wherein the instructions are further executed to set the wait time for processing performed in relation to the print job before execution of printing to be shorter than the wait time for processing performed in relation to the print job after execution of printing.
5. The server according to claim 1 , wherein the instructions are further executed to set the wait time for processing performed in relation to the print job before execution of printing to be shorter than the wait time for processing without relation to the print job.
6. The server according to claim 1 , wherein the instructions are further executed to, after it is determined that the condition is not to be satisfied by accessing the print service to perform the individual processing, decide the wait time for the individual processing.
7. The server according to claim 1 , wherein the instructions are further executed to, in a case where access for performing an individual processing is not made for a threshold time or a threshold number of times, shorten the wait time for the individual processing.
8. The server according to claim 1 , wherein
the server receives a print job from each of a plurality of print services including the print service, and the instructions are further executed to:
manage, for each of the plurality of print services, a status of past access to an individual print service, and
manage, for each of the plurality of print services, a condition concerning access to an individual print service.
9. The server according to claim 1 , wherein the instructions are further executed to, in a case where there exist a plurality of processes waiting for access to the print service and a second condition concerning access to the print service is not satisfied, access the print service first for processing having a higher priority level among the plurality of processes.
10. The server according to claim 1 , wherein the condition includes a condition that the number of times of access to the print service per unit time does not exceed an upper limit.
11. A non-transitory storage medium storing a program comprising instructions, that when executed by at least one processor circuit, cause the processor circuit to:
access a print service;
manage a condition concerning access to the print service;
manage a status of past access to the print service; and
determine, based on the status of past access, whether the condition is not to be satisfied by newly accessing the print service,
wherein the instructions are further executed to:
in a case where it is determined the condition is not to be satisfied, cease to newly access the print service, and
in a case where the print service is not accessed since the condition is not to be satisfied, after a wait time for an individual processing elapses, retry to access the print service with respect to the individual processing.
12. A method of controlling a server for receiving a print job from a print service that has received the print job from an information processing apparatus, the method comprising:
accessing the print service;
managing a condition concerning access to the print service;
managing a status of past access to the print service; and
determining, based on the status of past access, whether the condition is not to be satisfied by newly accessing the print service,
wherein in a case where it is determined the condition is not to be satisfied, the print service is not newly accessed in the accessing the print service, and
in a case where the print service is not accessed since the condition is not to be satisfied, after a wait time for an individual processing elapses, the print service is retried to access with respect to the individual processing.