Scheduling external asset import

Hello,

I am working on application for external imports using the “jiraServiceManagement:assetsImportType” module. I want the app to execute imports automatically in user specified interval (set in the config modal of module).

My idea is to use the Async Events API with delayed jobs. Each handled job will execute the import after delay & push another job to queue. The problem with his approach is that job has a 15-minute delay limit. My idea to bypass this is to save some counter variable to storage which will increase with each job handled. When the counter reaches desired value, the import will be executed & the counter reset.

Is this approach reasonable, or are there some better ways?

Any advice or alternative methods would be appreciated. Thank you!