Open Zekhap opened 3 years ago
This would be a great addition.
First should be a dropdown to select between an "RCON" command, or "BASH" script.
I have the same problem with a space engineers server. the gameserver have no console commands and the only way is a mod which works with text files for announcements. so a easy solution would be a script to create the text files with scheduler.
Would love this
I'm going to close this in favor of any issue that requests a specific action rather than a generic script. I'd prefer not making it extremely easy for users to execute any arbitrary command on a schedule and much rather have other specific actions such as delete file(s)
, print to console
, etc.
@matthewpi I'm going to re-open this, I think we should have both, and just make this a feature flag on the instance. For a lot of non-hosts a script would be far easier, and more likely to serve their specific needs better.
I'm going to close this in favor of any issue that requests a specific action rather than a generic script. I'd prefer not making it extremely easy for users to execute any arbitrary command on a schedule and much rather have other specific actions such as
delete file(s)
,print to console
, etc.
What if I need to run a custom sync script but not a scheduled backup?
As someone right now who is struggling to get an rsync to run periodically by rebuilding your java_17 image to include rsync and cron and wishing I could just have copied a bash script in my Egg's Installation Script instead, I'm all-in for this. But yes, absolutely wall it off by default and only allow it for specific users or something. I definitely do not need my nephew executing bash scripts he found on Minecraft forums.
Is your feature request related to a problem? Please describe. I have always wanted a way to write my own scripts in the schedules. Instead now i need to create a new file and run it with crontab for it to be executed every x days
Describe the solution you'd like A way to create my own script code in the schedule
Describe alternatives you've considered None
Additional context Example