A non-transitory computer-readable storage medium storing an eyeglasses lens machining program used in an eyeglasses lens machining device that machines a peripheral edge of an eyeglasses lens, the eyeglasses lens machining program causing the eyeglasses lens machining device, when executed by a processor of the eyeglasses lens machining device, to perform:
- a period information acquisition step of acquiring period information indicating a predetermined period during which a consumable item is used in the eyeglasses lens machining device;
- a machining information acquisition step of acquiring machining information on machining of an eyeglasses lens by the eyeglasses lens machining device in the predetermined period;
- a recommendation information acquisition step of acquiring recommendation information for recommending replacement of the consumable item;
- a prediction step of predicting a replacement time to replace the consumable item based on the period information acquired in the period information acquisition step, the machining information acquired in the machining information acquisition step, and the recommendation information acquired in the recommendation information acquisition step;
- and
- an output step of outputting a prediction result predicted in the prediction step.