X-lab2017 / open-digger

Open source analysis tools
https://open-digger.cn
Apache License 2.0
286 stars 85 forks source link

[Feature] Refactor the cron task config mechanism #1454

Closed frank-zsy closed 9 months ago

frank-zsy commented 9 months ago

Description

Right now, the cron tasks hold their own task enable and immediate config in the task file.

But this is not quite easy for user to deploy OpenDigger since they need to modify the source code to enable a cron task.

We can extract the enable and immediate task config into config file and task runner can use the config file to control the process directly, so users can only modify the config in their own local config file to enable tasks which is much more friendly.

frank-zsy commented 9 months ago

/self-assign