hawihoney Posted October 1, 2023 Share Posted October 1, 2023 @Squid This is what I saw yesterday. update_cron will be called twice if both plugins are installed. I don't know the tool. Will it be ok to call it twice? If yes, just ignore this post. Thanks. Community Applications plugin: Quote Changed: run update_cron at array_start (fixes issue with OS 6.12.4) User Scripts plugin: Quote Run update_cron at array start Quote Link to comment
itimpi Posted October 1, 2023 Share Posted October 1, 2023 You can call it as many times as you like without problems. Every time it is called it simply refreshes the cron entries from what any part of Unraid or plugin has set up to say it wants as entries. If there are no changes then it will have no effect. I know because my Parity Check Tuning plugin can call it at any time depending on the level and type of array activity it detects to adjust the timings of some of its internal tasks that are handled via cron. Quote Link to comment
Squid Posted October 2, 2023 Share Posted October 2, 2023 Reason I put it on everything is that I have no idea what plugins are going to wind up being installed. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.