Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Is there a way to sleep until specific time? Example schedule a task or a function to run at midnight every day.
Heres a function that returns how many milliseconds to midnight, so it will sleep to midnight, you can then add in what to do at midnight
https://pastebin.com/raw/pjcWHpbj
@caplaz You can also use BAS command line interface with any scheduler. https://wiki.bablosoft.com/doku.php?id=how_to_schedule_bas_script
@bebetter said in How to Manage API Key Usage in Multi-Threaded Tasks with BAS:
Can we return the API key back to the resource after finishing a thread?
You don't need it. Just set the usage count of the resource when you create it.
it runs normally
@IReXx said in Task Error:
@Fox Did I understood that right that it is impossible to fix?
Yes, it can't be fixed.