I have several applications that weren't configured to start up automatically. I am trying to figure out a way for those services to start up automatically after a reboot.
Eg. This is one command used to start one of the applications, how do I make this into a cron job. I guess the first thing will be to stop the service after reboot then restart it.
sh /opt/activiti/tomcat/bin/./startup.sh & disown
sh /opt/activiti/nohup ./start-activiti.sh > /dev/null 2>&1 & disown
I once tried
@reboot sh /opt/activiti/tomcat/bin/./startup.sh & disown which didn't work.