Horje
bash maximum running time Code Example
bash maximum running time
timeout -s ${kill_signal} --preserve-status ${maxrun} /root/mon-lastdata.sh

example:
timeout -s 9 --preserve-status 100 /root/mon-lastdata.sh

-s 9 is equivalent to kill -9




Shell

Related
docker copy file not found Code Example docker copy file not found Code Example
wsl cd into another drive Code Example wsl cd into another drive Code Example
copiar arichvos linux ssh Code Example copiar arichvos linux ssh Code Example
The file \AppData\Roaming\npm\yarn.ps1 is not digitally signed. Code Example The file \AppData\Roaming\npm\yarn.ps1 is not digitally signed. Code Example
where is office folder Code Example where is office folder Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14