I would like to allow regular users of the site (not programmers) to manage scheduler processes.
Is there an access to the task scheduler processes from the python level to enable the creation of a simplified UI, e.g. to preview scheduled tasks, how much time is left until the next task, skip running the next task, etc. ?
You’re right, they’re scheduled via the IDE. You could pretty easily write a single IDE scheduled function that would go through a data table and execute functions listed there on whatever schedule is stored in the data table.
As a string sounds like the best bet. I probably wouldn’t use anvil.server.call, since that would have some overhead. We’re already running in the server, so I’d just use some variation on globals()[functionname]() It’d take some playing around to get right.
Parameters could be stored as a simple object column, with some basic substitutions (e.g. the current user’s email, etc)