Can I borrow licenses for a number of hours, rather than days?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 8 de Nov. de 2023
Comentada: Walter Roberson
el 8 de Nov. de 2023
I have my options file for my License Server set using MAX_BORROW_HOURS to set a number of hours for my users to check out licenses. However, when checking out licenses in MATLAB, I notice that the timeframe is only ever set for a number of days, and I am unable to set a specific number of hours to borrow. How can I borrow licenses for a timeframe more granular than a day?
Respuesta aceptada
MathWorks Support Team
el 8 de Nov. de 2023
Licenses can only be borrowed for a specified number of days. When borrowing licenses in MATLAB, the license will be borrowed until 11:59 PM of the day the license is borrowed until. For example, If I were to borrow a license for 3 days, the license will be borrowed until midnight of the day listed in the borrowing UI. It is not possible to specify a timeframe more specific than the number of days.
If using MAX_BORROW_HOURS to limit the timeframe licenses can be borrowed, please add an additional 24 hours to the timeframe so licenses can be borrowed until the end of the day for the desired limit. For example, if you want to limit your users to borrow for 24 hours, set MAX_BORROW_HOURS to 48. This will allow users to borrow licenses for 2 days in the borrowing UI, which would be until midnight the next day.
1 comentario
Walter Roberson
el 8 de Nov. de 2023
In license files with borrowing, the INCREMENT lines for products include the keyword BORROW=720, where 720 is the maximum number of hours in the borrow period (you cannot change this value).
To set the maximum borrow period to less than 30 days, you can use the MAX_BORROW_HOURS key word in your options file.
So according to your documentation, you can can change the maximum borrow period to less than 30 days provided that you leave the maximum to be exactly 30 days.
Más respuestas (0)
Ver también
Categorías
Más información sobre Manage Products en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!