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.
Description
Right now, the cron tasks hold their own task
enable
andimmediate
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
andimmediate
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.