Thanks so much Massimo. I have a related quesiton, I'm afraid.
I have a task that I can test and works OK when run from the shell. When I try to use the scheduler to run it, it seems to enqueue OK, and the task_run table shows it queued, but the task_run shows status=unknown, and the PID, STARTED_ON, COMPLETED_ON, LOG, AND OUTPUT fields are all None.
So I guess the scheduler didn't accept the task or it crashed in some way. Maybe my code failed in some way, but there's no ticket in the Py4web log and no evidence to follow up/debug the problem. Does the scheduler have any other status/logging info it could capture to help? I can look at the scheduler code to maybe capture it, but I'm scratching my head at the moment.
Sorry to bug you.