freehck Posted December 2, 2016 Share Posted December 2, 2016 Hello, I've just set up my dedicated server on Devuan GNU/Linux machine. I'd like to restart my server using cron scheduler for updates every day at 5:00 AM, but I understand that I must run c_save() console command before restart. Is it possible to run it from command line. Without this ability I can't do it from schedueler and can't automate the update process. Thanks. Link to comment Share on other sites More sharing options...
cezarica Posted December 14, 2016 Share Posted December 14, 2016 If you start your server shards with something like (Master always first): screen -dmS DST_M ./dontstarve_dedicated_server_nullrenderer -cluster MyDediServer -shard Master screen -dmS DST_C ./dontstarve_dedicated_server_nullrenderer -cluster MyDediServer -shard Caves then you can 'connect' to the shards and stop them (Caves always first) screen -S DST_C -p 0 -X stuff "c_shutdown()\n" screen -S DST_M -p 0 -X stuff "c_shutdown()\n" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.