fluent-plugin-mysql-query
fluent-plugin-mysql-query copied to clipboard
Cron problem
Hello,
I've a strange problem ! The plugin is configured to be executed via cron once a day at a specified time !
But when i restart the fluentd agent, the plugin runs again !!!
Is it the normal behaviour ? How can the plugin run only once a day, even after a plugin restart ?
Thanks for your help.
Hi, @mareban
Fluentd was designed as daemon process.
On launching the fluentd, it run immediately first time. And it keep sleeping for the interval time.
How about launch fluentd as daemon configured with interval 24h?
I guess you want #4 function.
Hello,
Thanks for reply ! Yes i want #4 function ! All is ok and rufus-scheduler too because it runs every day at the specified time ! But each time i restart fluentd, it runs again (interval ?), but cron is specified ! Can the plugin run only at the specified time using cron or it is not possible without coding :) ?
Sometimes i need to change/add something in the fluentd config and restart ...
Thanks for your help.