[英]Cron job to restart a software in Centos 6
I want to add a cron job in my Centos 6 x86_64 bit VPS.我想在我的 Centos 6 x86_64 位 VPS 中添加一个 cron 作业。
I have a software installed on my VPS red5我的 VPS red5 上安装了一个软件
Installation location: /usr/local/red5安装位置:/usr/local/red5
Executeable file path: /usr/local/red5/red5.sh可执行文件路径:/usr/local/red5/red5.sh
Service file path: /etc/init.d/red5服务文件路径:/etc/init.d/red5
I want this software to be restart automatically via cronjob.我希望通过 cronjob 自动重启这个软件。 after every 5 days
每 5 天后
What should be the cronjob syntax for this task to be done.要完成此任务的 cronjob 语法应该是什么。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.