View Single Post
  #5  
Old 08-15-2018, 07:49 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Quote:
Originally Posted by djeryv View Post
I finally got it working by putting the below in my crontab. I am not sure if I need the delay...or to direct the output to NULL. I tried to delay it in various ways during my trial and error without success though, so maybe the redirected output? Oh well...just glad it is working.

Code:
@reboot sleep 30 && /home/eqemu/server/server_start_with_login.sh > /dev/null 2>&1
Hey djeryv! A name I've not seen in quite a while, hope all is well.

@reboot in the crontab works fine, you really don't need the delay.

However, I would recommend that you first cd into the server directory because running the server binaries and everything it loads is contextual of the server directory. So:

Code:
@reboot cd /home/eqemu/server && ./server_start_with_login.sh > /dev/null 2>&1
Reply With Quote