cho*_*ovy 1 linux bash cron crontab
我@reboot ~/www/example.com/bin/server在我的用户的crontab中使用...但是当我重新启动服务器时,Web服务器(此脚本)没有出现.(脚本在命令行中工作正常).
@reboot ~/www/example.com/bin/server
我的猜测是/home/user目录尚未安装...有没有人知道是否可以使用此crontab @reboot方法让脚本在主目录中运行?
/home/user
crontab @reboot
小智 6
如果您认为尚未安装/ home/user(或某些必需的系统尚未运行),则在crontab行中,您始终可以在执行以下命令之前等待:
@reboot sleep 60; /home/user/www/example.com/bin/server
归档时间:
11 年,11 月 前
查看次数:
4388 次
最近记录:
8 年,1 月 前