Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeScheduler_tasklog 如何不生成日志 #17

Open
alanchen78 opened this issue Oct 19, 2022 · 3 comments
Open

FreeScheduler_tasklog 如何不生成日志 #17

alanchen78 opened this issue Oct 19, 2022 · 3 comments

Comments

@alanchen78
Copy link

如何关闭日志功能 。因为任务执行频繁时,大量日志插入一定程序上也影响效率 。

@2881099
Copy link
Owner

2881099 commented Oct 19, 2022

参考代码,重写 OnExecuted 方法 https://github.com/2881099/FreeScheduler/blob/master/FreeScheduler/TaskHandlers/FreeSqlHandler.cs

或者用 Redis 持久化。

@alanchen78
Copy link
Author

谢谢,已微信小小赞助一样。

@2881099
Copy link
Owner

2881099 commented Oct 19, 2022

谢谢老板支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants