Closed kurahaupo closed 2 years ago
yeah, my code here is kind of dumb. i will fix it, thanks. also i dont see any issues with the order how cron runs. it was mainly done so for feedback without waiting while testing. tell me if i am missing something about the order
This line
includes nanoseconds and then cuts them off again. A simpler version would be
However even that is unnecessary.
Also I adjust the main loop so that it runs 60 seconds after the previous run started rather than 60 seconds after it finished, or immediately if the job took longer than 60 seconds to run.