3D printers can work for days.
The problems witch can occur:
- Steppers motor or its drivers get too hot and will lose steps= lower the motor current on the drivers, also make sure the stepper drivers have heat sink and a small fan cools the electronics
- Print head jams : use a good quality filament and a quality hotend like E3D V6
- Print peels of the build plate during print, use brim or raft for long prints for best adhesion. Make sure the print surface is super clean before print starts or use glue stick/hairspray, also a correct bed leveling is a key point for best first layer adhesion to the print bed.