/var/www/html/file.php; sleep 20; done;
                  
                  
                  
                  
                  
                   But when I reboot my server and run screen -r it shows There is no screen to be resumed.
                  
                  
                  
                  
                  
                   How can i stop the screen from stopping when I reboot the server?
                  
                  
                
Screen is not a service manager, make a systemd service and a timer (assuming you use systemd)
Обсуждают сегодня