How to stop simulation after specific amount of walltime?

How can I make the simulation stop and write a restart file after specific amount of time, like 11 hours?
can you guide me

was there something like stop after walltime 10:00:00 in LAMMPS in the past?

https://docs.lammps.org/fix_halt.html

timer timeout?