Portal Home > Knowledgebase > Articles Database > CronJob


CronJob




Posted by mcaynoz, 03-18-2012, 03:11 AM
this script is programmed to terminate abuser's VM's abusive process's such as DoS scripts http://pastebin.com/bG0nntV6 How would i install it on centos

Posted by ChrisK1, 03-18-2012, 03:47 AM
In SSH type 1. vi filename.sh 2. paste the contents of that script 3. save the file ( type :wq! and then enter) 4. chmod +x filename.sh for example vi dos.sh (paste contents and save file) chmod +x dos.sh now lets say the file is located /root/dos.sh type crontab -e find an empty line and then type 0 0 * * * /root/dos.sh That will run at midnight every night. Hope this helps

Posted by mcaynoz, 03-18-2012, 04:23 AM
im @ crontab -e i added the line but how do i save and exit

Posted by net, 03-18-2012, 04:38 AM
Moved > Hosting Security and Technology .



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Cliffsupport review (Views: 753)
host4me.. scammers!!! (Views: 696)


Language: