redash icon indicating copy to clipboard operation
redash copied to clipboard

The source code of Refresh Schedule makes me confused

Open Looyue opened this issue 1 year ago • 1 comments

step 1: I set Refresh Schedule value as every 1 minute in the redash app I deployed, but it doesn't work, so I went to check the queues in rq dashboard

step 2: I found there were no periodic queues in Redis, so I went to read redash source code, tried to find out how were periodic jobs pushed into Redis.

step 3: I found that the function schedule_periodic_jobs pushed periodic jobs into Redis, but I didn't find any backend function executed the schedule_periodic_jobs function

Who can tell me how is the python code executed after setting Refresh Schedule value on web page? The source code makes me feel it does nothing about periodic jobs. I just want to know this, then I can continue exploring why I failed to refresh periodically. Thanks a lot!

Looyue avatar Jan 18 '24 15:01 Looyue

On which page did you set the scheduled task but it didn't take effect?

gaecoli avatar Jan 22 '24 11:01 gaecoli