update_cron called twice


Recommended Posts

@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

 

Link to comment

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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.