dolphinscheduler worker节点自启动
vim /etc/crontab
* 23 * * * root /opt/startworkerserver.sh > /dev/null 2>&1 #每天晚上11点执行
/opt/startworkerserver.sh
#!/bin/bash ps=$(jps |grep 'WorkerServer') if [ -z "${ps}" ];then nohup /opt/dolphinscheduler/dolphinscheduler/bin/dolphinscheduler-daemon.sh start worker-server 2>&1 & fi