#execute commands at specific times

1 messages · Page 1 of 1 (latest)

umbral adderBOT
#

This post has been reserved for your question.

Hey @reef cape! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

mossy jolt
#

scheduled executor -> execute at fixed time

#

if it asks for parameters it wont execute at that time
human input is super slow

mossy jolt
#

as i alrdy said, use a sheduled executor

#

while u might be able to say that that code will work
it will crash ur system because it will use 100% of CPU

#

as for how to make an exe ....... this is java ..... u make a jar

and u can run it on any system that has java installed as a jar
an exe is just the jar put into a file with a mini jvm included
its not ideal and doesnt allow the program to be run with the system settings

quaint basin
#

I mean, Java doesn't provide schedulers at fixed time. You'll need something like Quartz

#

And yeah, packaging Java programs as .exe reduce their flexibility and requires additional work to add back configurability but that's the industry standard