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

    2 answers 2

    Use cron in combination with the pkill samp03svr .

    Accordingly, the line for /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