Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to restart server every 10 min Apache2 Ubuntu
ChannelOss BarkovskyDescription from the creator
This is a script using crontab -e to restart the apache server, or any script you may want to lauch a daily basis.
just start your putty command interface.
creat a .sh file
nano /var/www/reboot.sh
* if you dont have nano type apt-get install nano
then in nano type /etc/init.d/apache2 restart
then ctrl + x Then y then enter
then chmod the file to let the server execute it.
chmod 777 /var/www/reboot.sh
then type crontab -e
and write the following
*/10 * * * * /var/www/reboot.sh
and ctrl+x and y and Enter
And then server will do the restart.sh command line every 10 min!
Enjoy!
just start your putty command interface.
creat a .sh file
nano /var/www/reboot.sh
* if you dont have nano type apt-get install nano
then in nano type /etc/init.d/apache2 restart
then ctrl + x Then y then enter
then chmod the file to let the server execute it.
chmod 777 /var/www/reboot.sh
then type crontab -e
and write the following
*/10 * * * * /var/www/reboot.sh
and ctrl+x and y and Enter
And then server will do the restart.sh command line every 10 min!
Enjoy!
About this tutorial
Oss Barkovsky published this 4:09 video tutorial on November 10, 2013. It has been watched 7,773 times on YouTube.
- Channel
- Oss Barkovsky
- Category
- Education
- Duration
- 4:09
- Published
- November 10, 2013
- Views
- 7,773
- Likes
- 14
Tags
Share
This tutorial in other languages
- FRComment redémarrer le serveur toutes les 10 min Apache2 Ubuntu
- ESCómo reiniciar el servidor Apache 2 cada 10 minutos Ubuntu
- PTComo reiniciar o servidor a cada 10 min Apache2 Ubuntu
- ITCome riavviare il server ogni 10 min Apache2 Ubuntu
- DEWie neu startet Server all 10 Minuten Apache2 Ubuntu
- NLHoe om te herstarten server elke 10 min Apache2 Ubuntu
- RUКак перезапустить сервер каждые 10 мин Apache2 Ubuntu
- PLJak zrestartować serwer co 10 min Apache2 Ubuntu
- JAサーバーごとに10分のApache2のUbuntuを再起動する方法
- ARكيفية إعادة تشغيل الملقم كل 10 دقيقة Apache2 أوبونتو
- HIकैसे सर्वर को पुनः आरंभ करने के लिए हर 10 मिनट Apache2 उबंटू
- IDBagaimana me-restart server setiap 10 menit Apache2 Ubuntu