linux下进程运行一定时间后结束(超时结束)

在每个命令最后加入如下代码即可

& { sleep 5; eval 'kill -9 $!';}

 

发表评论

电子邮件地址不会被公开。

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.