Hello!
Help, please, make a script to "kill" the process every day at 04:30.
PS: CentOS OS. I know about cron , bash did not learn. The process is called /root/samp03/samp03svr
cron
bash
/root/samp03/samp03svr
Use cron in combination with the pkill samp03svr .
pkill samp03svr
Accordingly, the line for /etc/crontab :
/etc/crontab
30 4 * * * pkill samp03svr
Now real admins will come and say how it is correct, but I would do it via cron: killall samp03svr
Source: https://ru.stackoverflow.com/questions/573608/More articles:C ++ QLineEdit text is not displayedHow to transfer data to a class when switching between tabs using Tab Controller?Connect to Oracle Database for VS 2015 MVC 4Is the Android application ending due to a lack of resources?Removing part of html page in WebBrowser WPFIncrease ImageView when you click on it.What tools can I use to transfer content to a fragment? [closed]Add markers to google maps apiAsyncTask java.lang.RuntimeException: An error occured while executing doInBackground () [duplicate]Error opening project on React.jsAll Articles